Module Rpc.Server_rpc

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