mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
1.1 KiB
1.1 KiB
sidebar_label
| sidebar_label |
|---|
| ResponseForRequest |
ResponseForRequest interface
Required response data to fulfill a request with.
Signature
export interface ResponseForRequest
Properties
|
Property |
Modifiers |
Type |
Description |
Default |
|---|---|---|---|---|
|
body |
string | Uint8Array | |||
|
contentType |
string | |||
|
headers |
Record<string, string | string[] | unknown> |
Optional response headers. The record values will be converted to string following: Arrays' values will be mapped to String (Used when you need multiple headers with the same name). Non-arrays will be converted to String. | ||
|
status |
number |