Function actix_http::ws::handshake_response
source · pub fn handshake_response(req: &RequestHead) -> ResponseBuilder
Expand description
Create WebSocket handshake response.
This function returns handshake Response
, ready to send to peer.