mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
803 B
Markdown
24 lines
803 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [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<string, unknown> | Optional response headers. All values are converted to strings. |
|
|
| [status](./puppeteer.responseforrequest.status.md) | number | |
|
|
|