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

20 lines
323 B
Markdown
Raw Normal View History

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