Catapult_clientBackend for Catapult, using a connection to the daemon.
module Endpoint_address = Catapult_utils.Endpoint_addressmodule Backend : sig ... endmodule Connection : sig ... endval default_endpoint : Endpoint_address.tval with_conn :
addr:Catapult_utils.Endpoint_address.t ->
?trace_id:string ->
unit ->
(Connection.t -> 'a) ->
'aval backend_of_conn : Connection.t -> Catapult.backendval addr_of_string_exn : string -> Endpoint_address.tParse a remote address.
val trace_collector_of_conn : Connection.t -> Trace_core.collectorObtain a trace collector from a network connection
val with_ :
addr:Catapult_utils.Endpoint_address.t ->
?trace_id:string ->
unit ->
(unit -> 'a) ->
'awith_ ~addr () f runs f() in an environment where a connection to addr has been established and is used to forward tracing events to the remote daemon.