Struct ntex::ws::WsConnection [−][src]
pub struct WsConnection<F> { /* fields omitted */ }
Implementations
Consumes the WsConnection
, returning it’as underlying I/O stream object
and response.
Start client websockets with SinkService
and mpsc::Receiver<Frame>
Convert I/O stream to boxed stream
Convert to ws stream to plain io stream
Auto Trait Implementations
impl<F> !RefUnwindSafe for WsConnection<F>
impl<F> !Send for WsConnection<F>
impl<F> !Sync for WsConnection<F>
impl<F> Unpin for WsConnection<F>
impl<F> !UnwindSafe for WsConnection<F>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more