[−][src]Function ntex::http::client::ws::start
pub async fn start<Io, T, F, Rx>(
framed: Framed<Io, Codec>,
rx: Rx,
service: F
) -> Result<(), DispatcherError<T::Error, Codec>> where
Io: AsyncRead + AsyncWrite + Unpin + 'static,
T: Service<Request = Frame, Response = Option<Message>>,
T::Error: 'static,
T::Future: 'static,
F: IntoService<T>,
Rx: Stream<Item = Message> + Unpin + 'static,
Start client websockets service.