Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(request: &Value, client: &HttpClient) -> Option<Value>
Expand description

Dispatches one decoded JSON-RPC message.

Notifications return None; requests return a JSON-RPC result or error response. This function stores no negotiated-version state.