puppeteer/website/versioned_docs/version-19.4.1/api/puppeteer.connectoptions.headers.md
2022-12-16 14:21:28 +01:00

281 B

sidebar_label
ConnectOptions.headers

ConnectOptions.headers property

Headers to use for the web socket connection.

Signature:

interface ConnectOptions {
  headers?: Record<string, string>;
}

Remarks

Only works in the Node.js environment.