Module Catapult_client.Connection

type t
val create : addr:Catapult_utils.Endpoint_address.t -> ?trace_id:string -> unit -> t
val send_msg : t -> pid:int -> now:float -> Catapult_utils.Ser.Event.t -> unit
val close : t -> unit
val with_ : addr:Catapult_utils.Endpoint_address.t -> ?trace_id:string -> unit -> (t -> 'a) -> 'a