Function: getWsUrl()
ts
function getWsUrl(
wsKey: WsKey,
wsClientOptions: WebsocketClientOptions,
logger: object
): string;Parameters
| Parameter | Type | Description |
|---|---|---|
wsKey | WsKey | - |
wsClientOptions | 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
string