Function dispatch

Source
pub(crate) fn dispatch(
    request: &JsonRpcRequest,
    ctx: &ServerContext,
) -> Option<JsonRpcResponse>
Expand description

Dispatch a JSON-RPC request to the appropriate handler. Shared between stdio and SSE transports.