Available on crate feature
websocket
only.Expand description
Easy and fast WebSockets for Kvarn.
See response()
for an example.
Re-exports§
pub use tokio_tungstenite;
pub use tokio_tungstenite::tungstenite;
Enums§
- Error from WebSocket operations
- Variants of WebSocket streams.
Traits§
- A
Sink
is a value into which other values can be sent, asynchronously. - An extension trait for
Sink
s that provides a variety of convenient combinator functions. - A stream of values produced asynchronously.
- An extension trait for
Stream
s that provides a variety of convenient combinator functions.
Functions§
- Form a response to a request on a WebSocket route.