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;
}
返回:
[HTTPResponse](./puppeteer.httpresponse.md) |无效