Skip to main content
function getWebSocketAuthHeaders(options: GetWebSocketAuthHeadersOptions): Promise<Record<string, string>>;
Defined in: utils/ws.ts:57 Gets authentication headers for a WebSocket connection.

Parameters

options

GetWebSocketAuthHeadersOptions The configuration options for generating WebSocket auth headers

Returns

Promise<Record<string, string>> Object containing the authentication headers