Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include H2_lwt.Client
with type socket = Gluten_lwt_unix.Client.TLS.socket
and type runtime = Gluten_lwt_unix.Client.TLS.t
type socket = Gluten_lwt_unix.Client.TLS.socket
type runtime = Gluten_lwt_unix.Client.TLS.t
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 ->
socket ->
t Lwt.t
val 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.t
val ping :
?payload:Bigstringaf.t ->
?off:int ->
t ->
(unit, [ `EOF ]) result Lwt.t
val is_closed : t -> bool
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 ->
Lwt_unix.file_descr ->
t Lwt.t