Up

Module One_way = Import.Rpc_kernel.One_way

Signature

type 'msg t
val create : name:string -> version:int -> bin_msg:'msg Core_kernel.Std.Bin_prot.Type_class.t -> 'msg t
val name : _ t -> string
val version : _ t -> int
val description : _ t -> Rpc_kernel.Description.t
val bin_msg : 'msg t -> 'msg Core_kernel.Std.Bin_prot.Type_class.t
val implement : 'msg t -> ('connection_state -> 'msg -> unit) -> 'connection_state Rpc_kernel.Implementation.t
val dispatch : 'msg t -> Rpc_kernel.Connection.t -> 'msg -> unit Core_kernel.Std.Or_error.t
val dispatch_exn : 'msg t -> Rpc_kernel.Connection.t -> 'msg -> unit
module Expert : sig .. end