Module Simple_httpdSource

Static directory serving and page generation

Sourcemodule Util : sig ... end

Some tools, like url encoding

Sourcemodule Address : sig ... end

Module for declaring address and port to listen to

Sourcemodule Client : sig ... end

Module allowing to retrive information about clients

Sourcemodule Async : sig ... end

Module dealing with the asynchronous treatment of clients by each domain

Sourcemodule Io : sig ... end

Module that encapsulates non blocking sockets with function similar to Unix.read and Unix.single_write but that will perform scheduling instead of blocking. This can be used to access your database. It has been tested with OCaml's bindings to libpq.

Sourcemodule Input : sig ... end

Representation of input streams, can be generated from string, file, ...

Sourcemodule Log : sig ... end

Module providing logging facilities

Sourcemodule Mutex : sig ... end

Module providing Mutex thats works with our Async module above

Sourcemodule Semaphore : sig ... end
Sourcemodule Resources : sig ... end
Sourcemodule Process : sig ... end

Module for creating process to communicate with. reading and writing are non blocking.

Sourcemodule Method : sig ... end

Module defining HTML methods (GET,PUT,...)

Sourcemodule Headers : sig ... end

Module to handle request and response headers

Sourcemodule Cookies : sig ... end

Module to handle cookies

Sourcemodule Request : sig ... end

Module handling HTML requests

Sourcemodule Response_code : sig ... end

Module defining HTML response codes

Sourcemodule Sfd : sig ... end
Sourcemodule Response : sig ... end

Module handling HTML responses

Sourcemodule Route : sig ... end

Module defining Routes to select which function will answer a request

Filters

Sourcemodule Filter : sig ... end

Type of request filters. These filters may transform both the request and the response. Several method may share filter passed as optional parameters to function like Server.add_route_handler.

Sourcemodule Camlzip : sig ... end
Sourcemodule Session : sig ... end

Module to handle session data

Sourcemodule Html : sig ... end

HTML: generated by chaml and vfs_pack

Sourcemodule Server : sig ... end

Module to create a server and run it

Sourcemodule WebSocket : sig ... end
Sourcemodule Dir : sig ... end

Module to server directory structure (real of virtual)

Sourcemodule Auth : sig ... end

A module for authenticating user on the site

Sourcemodule Status : sig ... end

A module to get detail status about the server

Sourcemodule Stats : sig ... end

provide a filter giving very simple statistics. We can do much better but be carefull on how to do it

Sourcemodule Host : sig ... end

Hight level module to write server handling multiple hosts/addresses