module Menu:machinery for communicating names and versions of supported rpcs from within the rpc protocol itself.sig
..end
This is useful for dynamically determining the most appropriate version number
to pass dispatch_multi
. when using Caller_converts
-style versioned rpcs
type
t
val add : 's Rpc.Implementation.t list -> 's Rpc.Implementation.t list
add impls
extends a list of rpc implementations with an additional
rpc implementation for providing a Menu.t
when one is requested
via Menu.request
.val request : Rpc.Connection.t ->
t Core.Std.Or_error.t Import.Deferred.t
val supported_rpcs : t -> Rpc.Implementation.Description.t list
val supported_versions : t -> rpc_name:string -> Core.Std.Int.Set.t