pub(super) async fn map_request(
state: CupratedRpcHandler,
request: JsonRpcRequest,
) -> Result<JsonRpcResponse, Error>
Expand description
Map a JsonRpcRequest
to the function that will lead to a JsonRpcResponse
.
pub(super) async fn map_request(
state: CupratedRpcHandler,
request: JsonRpcRequest,
) -> Result<JsonRpcResponse, Error>
Map a JsonRpcRequest
to the function that will lead to a JsonRpcResponse
.