Module websocket::stream::async

source ·
Expand description

A collection of traits and implementations for async streams.

Structs§

  • The readable half of an object returned from AsyncRead::split.
  • If you would like to combine an input stream and an output stream into a single stream to talk websockets over then this is the struct for you!
  • An I/O object representing a TCP stream connected to a remote endpoint.
  • The writable half of an object returned from AsyncRead::split.

Traits§

  • Read bytes asynchronously.
  • Writes bytes asynchronously.
  • A stream that can be read from and written to asynchronously. This let’s us abstract over many async streams like tcp, ssl, udp, ssh, etc.