Function actix_web_actors::ws::handshake
source ยท pub fn handshake(
req: &HttpRequest
) -> Result<HttpResponseBuilder, HandshakeError>Expand description
Prepare WebSocket handshake response.
This function returns handshake HttpResponse, ready to send to peer. It does not perform
any IO.