[−][src]Function actix_http::ws::handshake_response
pub fn handshake_response(req: &RequestHead) -> ResponseBuilderⓘNotable traits for ResponseBuilder
impl Future for ResponseBuilder type Output = Result<Response, Error>;
Create websocket handshake response
This function returns handshake Response
, ready to send to peer.