Skip to main content

dispatch

Function dispatch 

Source
pub async fn dispatch(
    req: &JsonRpcRequest,
    config: &ServerConfig,
) -> Option<JsonRpcResponse>
Expand description

Dispatch a JSON-RPC request to the appropriate handler.

Returns None for notifications (no response required).