Module Async_rpc_kernel.Rpc_shapes

A serializable representation of the bin_shape(s) of an RPC. For a regular RPC, this is a simple query/response pair.

type t =
  1. | Rpc of {
    1. query : Core.Bin_prot.Shape.t;
    2. response : Core.Bin_prot.Shape.t;
    }
  2. | One_way of {
    1. msg : Core.Bin_prot.Shape.t;
    }
  3. | Streaming_rpc of {
    1. query : Core.Bin_prot.Shape.t;
    2. initial_response : Core.Bin_prot.Shape.t;
    3. update_response : Core.Bin_prot.Shape.t;
    4. error : Core.Bin_prot.Shape.t;
    }
  4. | Unknown
val sexp_of_t : t -> Sexplib0.Sexp.t
module Just_digests : sig ... end
val eval_to_digest : t -> Just_digests.t
module Stable : sig ... end