Function http_ws::handshake

source ·
pub fn handshake(
    method: &Method,
    headers: &HeaderMap
) -> Result<Builder, HandshakeError>
Expand description

Verify HTTP/1.1 WebSocket handshake request and create handshake response.