package naboris
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=f7d1c959627f93fdcf9fd0c346edb9c9
sha512=344a03d18170368a3fedcc595f6cc103fe47449a77a9923ab58a7d20d8d291edfda624d27bbfd8dc05d9af33a797064efcbeb52a4f9ea57fa862ebd39b97cfa1
doc/naboris/Naboris/index.html
Module Naboris
val 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.