[][src]Function actix_web_actors::ws::start

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

Do websocket handshake and start ws actor.