HTTPRequest.response() 方法
¥HTTPRequest.response() method
匹配的 HTTPResponse 对象,如果尚未收到响应则为 null。
¥A matching HTTPResponse object, or null if the response has not been received yet.
签名
¥Signature
class HTTPRequest {
abstract response(): HTTPResponse | null;
}
Returns:
HTTPResponse | null