Skip to content

Function: getWsUrl() ​

ts
function getWsUrl(
   wsKey: WsKey, 
   wsClientOptions: WebsocketClientOptions, 
   logger: object
): string;

Parameters ​

ParameterTypeDescription
wsKeyWsKey-
wsClientOptionsWebsocketClientOptions-
logger{ error: (...params: any) => void; info: (...params: any) => void; trace: (..._params: any) => void; }-
logger.error?(...params: any) => void-
logger.info?(...params: any) => void-
logger.trace?(..._params: any) => voidPing/pong events and other raw messages that might be noisy. Enable this while troubleshooting.

Returns ​

string

Built by Siebly. Open source SDKs for exchange APIs.