Function actix_http::ws::handshake
source · pub fn handshake(req: &RequestHead) -> Result<ResponseBuilder, HandshakeError>
Expand description
Verify WebSocket handshake request and create handshake response.
pub fn handshake(req: &RequestHead) -> Result<ResponseBuilder, HandshakeError>
Verify WebSocket handshake request and create handshake response.