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

20 lines
323 B
Markdown

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