[][src]Function yarws::connect

pub async fn connect<'_>(url: &'_ str) -> Result<Socket, Error>

Connects to the WebSocket server and on success returns Socket.