Expand description
WebSockets server.
Re-exports§
pub extern crate bitconch_jsonrpc_core as jsonrpc_core; pub extern crate hawk_ws as ws;pub use self::server_utils::tokio;
Structs§
- Close
Handle - A handle that allows closing of a server even if it owned by a thread blocked in
wait. - Error
- The Error type.
- Host
- Host type
- Noop
Extractor - Dummy metadata extractor
- Origin
- Request Origin
- Request
Context - Request context
- Sender
- Output of WebSocket connection. Use this to send messages to the other endpoint.
- Server
WebSocketsserver implementation.- Server
Builder - Builder for
WebSocketsserver
Enums§
- Domains
Validation - Specifies if domains should be validated.
- Error
Kind - The kind of an error.
- Middleware
Action - Request middleware action
Traits§
- Meta
Extractor - Metadata extractor from session data.
- Request
Middleware - Middleware to intercept server requests. You can either terminate the request (by returning a response) or just proceed with standard JSON-RPC handling.
- Session
Stats - Keeps track of open sessions