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