Function ntex::ws::handshake

source · []
pub fn handshake(req: &RequestHead) -> Result<ResponseBuilder, HandshakeError>
Expand description

Verify WebSocket handshake request and create handshake reponse.