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