puppeteer/website/versioned_docs/version-10.1.0/puppeteer.httprequest.responseforrequest.md

18 lines
590 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPRequest](./puppeteer.httprequest.md) &gt; [responseForRequest](./puppeteer.httprequest.responseforrequest.md)
## HTTPRequest.responseForRequest() method
<b>Signature:</b>
```typescript
responseForRequest(): Partial<ResponseForRequest>;
```
<b>Returns:</b>
Partial&lt;[ResponseForRequest](./puppeteer.responseforrequest.md)&gt;
The `ResponseForRequest` that gets used if the interception is allowed to respond (ie, `abort()` is not called).