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
Sinkis a value into which other values can be sent, asynchronously. - An extension trait for
Sinks that provides a variety of convenient combinator functions. - A stream of values produced asynchronously.
- An extension trait for
Streams that provides a variety of convenient combinator functions.
Functions§
- Form a response to a request on a WebSocket route.