puppeteer/website/versioned_docs/version-19.6.0/api/puppeteer.httprequest.response.md

20 lines
323 B
Markdown
Raw Normal View History

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