puppeteer/website/versioned_docs/version-19.8.0/api/puppeteer.connectoptions.headers.md
release-please[bot] dcfec6dbbd
chore: release main (#9863)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-03-24 11:22:06 +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.