Module websocket::stream
[−]
[src]
Provides the default stream type for WebSocket connections.
Structs
ReadWritePair |
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! |
SslContext | |
SslStream |
A stream wrapper which handles SSL encryption for an underlying stream. |
TcpStream |
A structure which represents a TCP stream between a local socket and a remote socket. |
Enums
Shutdown |
Possible values which can be passed to the |
Traits
AsTcpStream |
The ability access a borrow to an underlying TcpStream,
so one can set options on the stream such as |
NetworkStream |
a |
Splittable |
some streams can be split up into separate reading and writing components
|
Stream |
Represents a stream that can be read from, and written to. This is an abstraction around readable and writable things to be able to speak websockets over ssl, tcp, unix sockets, etc. |