Module type Ib.Connection

module type Connection = sig .. end

type t 
val create : ?do_logging:bool ->
extend_error:(Core.Std.Error.t -> unit) ->
extend_status:(string -> unit) ->
extend_execution:(Response.Execution.t -> unit) ->
extend_commission:(Response.Commission.t -> unit) ->
Async.Std.Reader.t ->
Async.Std.Writer.t -> t Async.Std.Deferred.t
val close : t -> unit Async.Std.Deferred.t
val closed : t -> unit Async.Std.Deferred.t
val is_closed : t -> bool
val set_server_log_level : t ->
level:[ `Detail | `Error | `Information | `System | `Warning ] -> unit
module Handshake_result: sig .. end
val try_connect : t ->
client_version:int ->
client_id:Client_id.t ->
Handshake_result.t Core.Std.Or_error.t Async.Std.Deferred.t