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 ๐