puppeteer/docs/api/puppeteer.httprequest.response.md

20 lines
332 B
Markdown
Raw Permalink Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: HTTPRequest.response
---
# HTTPRequest.response() method
A matching `HTTPResponse` object, or null if the response has not been received yet.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class HTTPRequest {
abstract response(): HTTPResponse | null;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
[HTTPResponse](./puppeteer.httpresponse.md) \| null