Function: getWsUrl()
ts
function getWsUrl(
wsKey: WsKey,
options: WebsocketClientOptions,
logger: object
): Promise<string>;Parameters
| Parameter | Type | Description |
|---|---|---|
wsKey | WsKey | - |
options | WebsocketClientOptions | - |
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) => void | Ping/pong events and other raw messages that might be noisy. Enable this while troubleshooting. |
Returns
Promise<string>