Module server

Module server 

Source
Expand description

axum RPC server implementations Contains the code to launch an Ethereum RPC server.

Modulesยง

beacon_handler ๐Ÿ”’
error
handler ๐Ÿ”’
Contains RPC handlers

Functionsยง

beacon_router ๐Ÿ”’
Configures an [axum::Router] that handles Beacon REST API calls.
router
Configures an [axum::Router] that handles EthApi related JSON-RPC calls via HTTP and WS, and Beacon REST API calls.
serve
Configures a server that handles EthApi related JSON-RPC calls via HTTP and WS.
serve_on
Configures a server that handles EthApi related JSON-RPC calls via HTTP and WS.
spawn_ipc
Launches an ipc server at the given path in a new task
try_spawn_ipc
Launches an ipc server at the given path in a new task.