package async_rpc_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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 Stable : sig ... end