Function actix_http::ws::handshake_response[][src]

pub fn handshake_response(req: &RequestHead) -> ResponseBuilder
Notable traits for ResponseBuilder
impl Future for ResponseBuilder type Output = Result<Response, Error>;
Expand description

Create websocket handshake response

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