Expand description
Lightweight, event-driven WebSockets for Rust.
Structs§
- Connection
- Error
- A struct indicating the kind of error that has occured and any precise details of that error.
- Frame
- A struct representing a WebSocket frame.
- Handshake
- A struct representing the two halves of the WebSocket handshake.
- Request
- The handshake request.
- Response
- The handshake response.
- Settings
- WebSocket settings
Enums§
- Close
Code - Status code used to indicate why an endpoint is closing the WebSocket connection.
- Error
Kind - The type of an error, which may indicate other kinds of errors as the underlying cause.
- Message
- An enum representing the various forms of a WebSocket message.
- OpCode
- Operation codes as part of rfc6455.
Traits§
- Handler
- The core trait of this library. Implementing this trait provides the business logic of the WebSocket application.