puppeteer/new-docs/puppeteer.protocol.fetch.fulfillrequestrequest.md

24 lines
1.7 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Fetch](./puppeteer.protocol.fetch.md) &gt; [FulfillRequestRequest](./puppeteer.protocol.fetch.fulfillrequestrequest.md)
## Protocol.Fetch.FulfillRequestRequest interface
<b>Signature:</b>
```typescript
export interface FulfillRequestRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [binaryResponseHeaders](./puppeteer.protocol.fetch.fulfillrequestrequest.binaryresponseheaders.md) | string | Alternative way of specifying response headers as a \\<!-- -->0-separated series of name: value pairs. Prefer the above method unless you need to represent some non-UTF8 values that can't be transmitted over the protocol as text. |
| [body](./puppeteer.protocol.fetch.fulfillrequestrequest.body.md) | string | A response body. |
| [requestId](./puppeteer.protocol.fetch.fulfillrequestrequest.requestid.md) | [RequestId](./puppeteer.protocol.fetch.requestid.md) | An id the client received in requestPaused event. |
| [responseCode](./puppeteer.protocol.fetch.fulfillrequestrequest.responsecode.md) | [integer](./puppeteer.protocol.integer.md) | An HTTP response code. |
| [responseHeaders](./puppeteer.protocol.fetch.fulfillrequestrequest.responseheaders.md) | [HeaderEntry](./puppeteer.protocol.fetch.headerentry.md)<!-- -->\[\] | Response headers. |
| [responsePhrase](./puppeteer.protocol.fetch.fulfillrequestrequest.responsephrase.md) | string | A textual representation of responseCode. If absent, a standard phrase matching responseCode is used. |