mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.7 KiB
1.7 KiB
Home > puppeteer > Protocol > Fetch > FulfillRequestRequest
Protocol.Fetch.FulfillRequestRequest interface
Signature:
export interface FulfillRequestRequest
Properties
| Property | Type | Description |
|---|---|---|
| binaryResponseHeaders | 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 | string | A response body. |
| requestId | RequestId | An id the client received in requestPaused event. |
| responseCode | integer | An HTTP response code. |
| responseHeaders | HeaderEntry[] | Response headers. |
| responsePhrase | string | A textual representation of responseCode. If absent, a standard phrase matching responseCode is used. |