H2_eio.Clientval create_connection :
?config:H2.Config.t ->
?push_handler:
(H2.Request.t -> (H2.Client_connection.response_handler, unit) result) ->
sw:Eio.Switch.t ->
error_handler:H2.Client_connection.error_handler ->
Eio_unix.Net.stream_socket_ty Eio.Net.stream_socket ->
tval request :
t ->
?flush_headers_immediately:bool ->
?trailers_handler:H2.Client_connection.trailers_handler ->
H2.Request.t ->
error_handler:H2.Client_connection.error_handler ->
response_handler:H2.Client_connection.response_handler ->
H2.Body.Writer.tval ping :
?payload:Bigstringaf.t ->
?off:int ->
t ->
(unit, [ `EOF ]) result Eio.Promise.tval shutdown : t -> unit Eio.Promise.tval is_closed : t -> bool