RPC_client.http_local_ctxt
The class http_local_ctxt
creates an RPC context that executes some RPCs locally and delegates others over http. Arguments are:
RPC_context.generic
to perform RPC calls (for delegation over http), and whether mavryk-proxy-server
or mavkit-client
is runninginherit Mavryk_rpc.Context.t
method generic_media_type_call : Mavryk_rpc__.RPC_service.meth ->
?body:Data_encoding.json ->
Uri.t ->
Mavryk_rpc.Context.generic_call_result
Mavryk_error_monad.Error_monad.tzresult
Lwt.t