Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Naborisval listen :
?inetAddr:Unix.inet_addr ->
int ->
'sessionData ServerConfig.t ->
'a Lwt.t * 'a Lwt.uWill start an http server listening at inetAddr on port int with ServerConfig.t('sessionData).
val listenAndWaitForever :
?inetAddr:Unix.inet_addr ->
int ->
'sessionData ServerConfig.t ->
'a Lwt.tSame as listen but will specifically throw away the Lwt.u('a) and never resolve the promise. Keeping the server alive until the process is killed.
module ErrorHandler : sig ... endModule with error handler types.
module Req : sig ... endModule for working with incoming requests.
module Res : sig ... endModule for creating and sending responses.
module Route : sig ... endModule to extract routing data.
module ServerConfig : sig ... endModule for configuring the naboris http server.
module Session : sig ... endModule for working with sessions and session data.
module Method : sig ... endModule with types used for matching requests.
module Middleware : sig ... endModule defining middleware functions.
module RequestHandler : sig ... endModule defining RequestHandler functions.
module DateUtils : sig ... endModule with some utility functions for dates for HTTP headers.
module Query : sig ... endMap type for working with queries from routed requests.
module Cookie : sig ... endLess commonly used.
module MimeTypes : sig ... endLess commonly used.
module SessionManager : sig ... endLess commonly used.
module Router : sig ... endLess commonly used.
module SessionConfig : sig ... endLess commonly used.
module Etag : sig ... endLess commonly used.