Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include H2_lwt.Server
with type socket = Lwt_unix.file_descr
and type addr := Unix.sockaddr
type socket = Lwt_unix.file_descr
val create_connection_handler :
?config:H2.Config.t ->
request_handler:(Unix.sockaddr -> H2.Server_connection.request_handler) ->
error_handler:(Unix.sockaddr -> H2.Server_connection.error_handler) ->
Unix.sockaddr ->
socket ->
unit Lwt.t
val create_h2c_connection_handler :
?config:H2.Config.t ->
http_request:Httpaf.Request.t ->
?request_body:Bigstringaf.t H2.IOVec.t list ->
request_handler:(Unix.sockaddr -> H2.Server_connection.request_handler) ->
error_handler:(Unix.sockaddr -> H2.Server_connection.error_handler) ->
Unix.sockaddr ->
socket ->
(unit, string) result Lwt.t
module TLS : sig ... end
module SSL : sig ... end