Function actix_web::ws::start[][src]

pub fn start<A, S>(
    req: &HttpRequest<S>,
    actor: A
) -> Result<HttpResponse, Error> where
    A: Actor<Context = WebsocketContext<A, S>> + StreamHandler<Message, ProtocolError>,
    S: 'static, 

Do websocket handshake and start actor