Module Rpc.Client_rpc

type ('request, 'request_mode, 'response, 'response_mode) t = {
  1. service_spec : Service_spec.t;
  2. rpc_name : string;
  3. encode_request : 'request -> buffer;
  4. decode_response : buffer -> 'response;
  5. request_mode : 'request_mode Value_mode.t;
  6. response_mode : 'response_mode Value_mode.t;
}