Expand description
Bootstrap [axum] RPC servers.
Modules§
- config 🔒
- error 🔒
- Error variants used to unify different connection streams
- handler 🔒
- ipc
ipc
- IPC handling
- pubsub 🔒
- ws 🔒
Structs§
- PubSub
Context - Contains additional context and tracks subscriptions
- Server
Config - Additional server options.
Traits§
- PubSub
RpcHandler - The general purpose trait for handling RPC requests and subscriptions
- RpcHandler
- Helper trait that is used to execute ethereum rpc calls
Functions§
- http_
router - Configures an [
axum::Router
] that handles JSON-RPC calls via HTTP. - http_
ws_ router - Configures an [
axum::Router
] that handles JSON-RPC calls via both HTTP and WS. - router_
inner 🔒