anvil_server

Function http_router

Source
pub fn http_router<Http>(config: ServerConfig, http: Http) -> Router
where Http: RpcHandler,
Expand description

Configures an [axum::Router] that handles JSON-RPC calls via HTTP.