Type Alias websocket::client::async::Client

source ·
pub type Client<S> = Framed<S, MessageCodec<OwnedMessage>>;
Expand description

An asynchronous websocket client.

This is simply a Stream and Sink of OwnedMessages. See the docs for Stream and Sink to learn more about how to use these futures.

Aliased Type§

struct Client<S> { /* private fields */ }