HTTPRequest.responseForRequest() 方法
¥HTTPRequest.responseForRequest() method
如果允许拦截响应(即不调用 abort()
),则使用 ResponseForRequest
。
¥The ResponseForRequest
that gets used if the interception is allowed to respond (ie, abort()
is not called).
签名
¥Signature
class HTTPRequest {
responseForRequest(): Partial<ResponseForRequest> | null;
}
Returns:
Partial<ResponseForRequest> | null