Crate tc_rpc_server

Source
Expand description

Tetcore RPC servers.

Structs§

RpcMetrics
Metrics for RPC middleware
RpcMiddleware
Middleware for RPC calls

Functions§

rpc_handler
Construct rpc IoHandler
start_http
Start HTTP server listening on given address.
start_ipc
Start IPC server listening on given path.
start_ws
Start WS server listening on given address.

Type Aliases§

HttpServer
Type alias for http server
IpcServer
Type alias for ipc server
RpcHandler
The RPC IoHandler containing all requested APIs.
WsServer
Type alias for ws server