actix_http::ws

Function handshake

source
pub fn handshake(req: &RequestHead) -> Result<ResponseBuilder, HandshakeError>
Expand description

Verify WebSocket handshake request and create handshake response.