Module Versioned_rpc.Menu
Over-the-network discovery of rpc names and versions supported by a callee.
This is used by the dispatch_multi functions in Caller_converts and Both_convert to dynamically determine the most appropriate version to use.
val add : 's Rpc.Implementation.t list -> 's Rpc.Implementation.t listadd implsextends a list of rpc implementations with an additional rpc implementation for providing aMenu.twhen one is requested viaMenu.request.
val implement_multi : ?log_not_previously_seen_version:(name:string -> int -> unit) -> ('s -> version:int -> unit -> Rpc.Description.t list Async_kernel.Deferred.t) -> 's Rpc.Implementation.t listSpecifies directly how to handle the version menu rpc.
val request : Rpc.Connection.t -> t Core_kernel.Or_error.t Async_kernel.Deferred.tRequests an rpc version menu from an rpc connection.
val supported_rpcs : t -> Rpc.Description.t listFinds what rpcs are supported.
val supported_versions : t -> rpc_name:string -> Core_kernel.Int.Set.tFinds what versions of a particular rpc are supported.
val create : Rpc.Description.t list -> tCreates a menu directly -- generally you should use
requestinstead.