Browser SDK
Build voice, video and chat applications for the browser
v4
Stable
1disconnect(): Promise<void>
Disconnects the WebSocket and tears down the current session.
The client can be reconnected by calling connect again, which creates a fresh transport and session.
1await client.disconnect();