[−][src]Function actix_web::ws::start
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