Function ntex::http::ws::handshake_response[][src]

pub fn handshake_response(req: &RequestHead) -> ResponseBuilder
Expand description

Create websocket’s handshake response

This function returns handshake Response, ready to send to peer.