Crate jsonrpc_ws_server[][src]

Expand description

WebSockets server.


pub use jsonrpc_core;
pub use parity_ws as ws;
pub use self::server_utils::tokio;


A Broadcaster that can be used to send messages on all connections.

A handle that allows closing of a server even if it owned by a thread blocked in wait.

Host type

Dummy metadata extractor

Request Origin

Request context

WebSockets server implementation.

Builder for WebSockets server


Specifies if domains should be validated.

WebSockets Server Error

Request middleware action


Metadata extractor from session data.

Middleware to intercept server requests. You can either terminate the request (by returning a response) or just proceed with standard JSON-RPC handling.

Keeps track of open sessions

Type Definitions

WebSockets Server Result

Session id