pub async fn handshake<S>(
stream: S,
opts: &ClientOptions<'_>,
) -> Result<ClientConnection<S>, ConnectError>Expand description
Performs the WebSocket opening handshake over an established stream.
pub async fn handshake<S>(
stream: S,
opts: &ClientOptions<'_>,
) -> Result<ClientConnection<S>, ConnectError>Performs the WebSocket opening handshake over an established stream.