pub fn http_ws_router<Http, Ws>(
config: ServerConfig,
http: Http,
ws: Ws,
) -> Routerwhere
Http: RpcHandler,
Ws: PubSubRpcHandler,Expand description
Configures an [axum::Router] that handles JSON-RPC calls via both HTTP and WS.