Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Httpun_lwt.Server
with type socket = Gluten_lwt_unix.Server.SSL.socket
and type addr := Unix.sockaddr
type socket = Gluten_lwt_unix.Server.SSL.socket
val create_connection_handler :
?config:Httpun.Config.t ->
request_handler:(Unix.sockaddr -> Httpun.Reqd.t Gluten.reqd -> unit) ->
error_handler:(Unix.sockaddr -> Httpun.Server_connection.error_handler) ->
Unix.sockaddr ->
socket ->
unit Lwt.t
val create_connection_handler_with_default :
certfile:string ->
keyfile:string ->
?config:Httpun.Config.t ->
request_handler:(Unix.sockaddr -> Httpun.Reqd.t Gluten.reqd -> unit) ->
error_handler:(Unix.sockaddr -> Httpun.Server_connection.error_handler) ->
Unix.sockaddr ->
Lwt_unix.file_descr ->
unit Lwt.t