package h2-async
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a socket = 'a Gluten_async.Client.TLS.socket
type 'a runtime constraint 'a = [< Async.Socket.Address.t ]
val create_connection :
?config:H2.Config.t ->
?push_handler:
(H2.Request.t ->
(H2.Client_connection.response_handler, unit) Stdlib.result) ->
error_handler:H2.Client_connection.error_handler ->
'a socket ->
'a t Async.Deferred.t
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.t
val ping :
_ t ->
?payload:Bigstringaf.t ->
?off:int ->
((unit, [ `EOF ]) Stdlib.result -> unit) ->
unit
val shutdown : _ t -> unit Async.Deferred.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) Stdlib.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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>