OtherConnectOptionsConnectOptions.headersVersion: 19.6.1On 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.