anvil_server::handler

Function handle

Source
pub async fn handle<Http: RpcHandler, Ws>(
    __arg0: State<(Http, Ws)>,
    request: Result<Json<Request>, JsonRejection>,
) -> Json<Response>
Expand description

Handles incoming JSON-RPC Request.