pub async fn ws_client(uri: impl AsRef<str>) -> Result<WsClient, String>
Expand description

Create a new WebSocket connection with shared settings.