Skip to main content
Version: 19.4.1

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.