OtherConnectOptionsConnectOptions.headersVersion: 19.6.0On this pageConnectOptions.headers propertyHeaders to use for the web socket connection.Signature:interface ConnectOptions { headers?: Record<string, string>;}RemarksOnly works in the Node.js environment.