puppeteer/website/versioned_docs/version-10.1.0/puppeteer.responseforrequest.md
2021-08-10 11:09:48 +01:00

803 B

Home > puppeteer > ResponseForRequest

ResponseForRequest interface

Required response data to fulfill a request with.

Signature:

export interface ResponseForRequest 

Properties

Property Type Description
body string | Buffer
contentType string
headers Record<string, unknown> Optional response headers. All values are converted to strings.
status number