Function ws_tool::protocol::async_handle_handshake
source · [−]pub async fn async_handle_handshake<S: AsyncRead + AsyncWrite + Unpin>(
stream: &mut WsAsyncStream<S>
) -> Result<(Request<()>, BytesMut), WsError>
Expand description
async version of handling protocol handshake