package h2-async
Module Client.TLSSource
Source
val create_connection :
?config:H2.Config.t ->
?push_handler:
(H2.Request.t -> (H2.Client_connection.response_handler, unit) result) ->
error_handler:H2.Client_connection.error_handler ->
'a socket ->
'a t Async.Deferred.tSource
val request :
'a 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.tSource
val create_connection_with_default :
?config:H2.Config.t ->
?push_handler:
(H2.Request.t -> (H2.Client_connection.response_handler, unit) result) ->
error_handler:H2.Client_connection.error_handler ->
([ `Unconnected ], 'addr) Async.Socket.t ->
'addr Async.Tcp.Where_to_connect.t ->
'addr t Async.Deferred.t