Function cuprated::rpc::json::map_request
source ยท pub(super) async fn map_request(
state: CupratedRpcHandlerState,
request: JsonRpcRequest,
) -> Result<JsonRpcResponse, Error>
Expand description
Map a JsonRpcRequest
to the function that will lead to a JsonRpcResponse
.