Expand description
A more flexible version of axum::extract::ws. This could probably get pulled out into its own crate at some point.
Re-exports§
pub use tokio_tungstenite::tungstenite;
Structs§
- Close
Frame - A struct representing the close command.
- Pending
WebSocket - Request
SecWebsocket Protocol - Response
SecWebsocket Protocol - WebSocket
Config - The configuration for WebSocket connection.
- WebSocket
Response - An type representing an http response for a successful websocket upgrade. Note that this response
must be returned to the client for
PendingWebSocket::upgradeto succeed. - WebSocket
Upgrade
Enums§
- Close
Code - Status code used to indicate why an endpoint is closing the WebSocket connection.
- Message
- An enum representing the various forms of a WebSocket message.
- WebSocket
Upgrade Rejection - WsError
- Possible WebSocket errors.