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

24 lines
803 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; [ResponseForRequest](./puppeteer.responseforrequest.md)
## ResponseForRequest interface
Required response data to fulfill a request with.
<b>Signature:</b>
```typescript
export interface ResponseForRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [body](./puppeteer.responseforrequest.body.md) | string \| Buffer | |
| [contentType](./puppeteer.responseforrequest.contenttype.md) | string | |
| [headers](./puppeteer.responseforrequest.headers.md) | Record&lt;string, unknown&gt; | Optional response headers. All values are converted to strings. |
| [status](./puppeteer.responseforrequest.status.md) | number | |