Crate cfx_rpc_builder

Source

Structs§

ConflictingModules
Conflicting modules between http and ws servers.
EthSubscriptionIdProvider
An IdProvider for ethereum subscription ids.
Identity
A no-op middleware.
RpcModuleBuilder
A builder type to configure the RPC module: See [RpcModule]
RpcRegistryInner
A Helper type the holds instances of the configured modules.
RpcServerConfig
A builder type for configuring and launching the servers that will handle RPC requests.
RpcServerHandle
A handle to the spawned servers.
ServerBuilder
Builder to configure and create a JSON-RPC server
Stack
Two middlewares chained together.
TransportRpcModuleConfig
Holds modules to be installed per transport type
TransportRpcModules
Holds installed modules per transport type.

Enums§

EthRpcModule
RpcError
Rpc Server related errors
RpcModuleSelection
Describes the modules that should be installed.
ServerKind
Rpc server kind.
WsHttpSamePortError
Errors when trying to launch ws and http server on the same port.