Module jsonrpc_utils::axum_utils
source · Available on crate feature
axum
only.Expand description
Axum JSONRPC handlers.
Functions
- Axum handler for HTTP POST JSONRPC requests.
- Axum handler for JSONRPC over WebSocket.
- Returns an axum Router that handles JSONRPC requests at the specified
path
. Both HTTP and WebSocket are supported.