pub async fn connect_authorized( url: String, token: String, ) -> Result<WebsocketConnection, Error>
Connects to the provided URL, given an authentication token