Crate sc_rpc_server
source ·Expand description
Substrate RPC servers.
Re-exports
pub use crate::middleware::RpcMetrics;
pub use crate::middleware::RpcMiddleware;
Modules
RPC middlware to collect prometheus metrics on RPC calls.
Structs
Generates random integers as subscription ID.
Generates random strings of length
len
as subscription ID.WebSocket specific settings on the server.
Constants
Maximal payload accepted by RPC servers.
Traits
Trait to generate subscription IDs.
Functions
Start HTTP server listening on given address.
Start WS server listening on given address.
Type Definitions
Type alias for http server
Type alias for ws server