pub async fn connect(
opts: &ClientOptions<'_>,
) -> Result<ClientConnection, ConnectError>Expand description
Opens a TCP connection to opts.addr and performs the WebSocket handshake.
pub async fn connect(
opts: &ClientOptions<'_>,
) -> Result<ClientConnection, ConnectError>Opens a TCP connection to opts.addr and performs the WebSocket handshake.