libhttp-ocaml-dev | OCaml library for writing HTTP servers | Mehr ... |
OCaml HTTP is a library for the Objective Caml programming language, used to build simple HTTP servers, largely inspired to Perl's HTTP::Daemon module. . In order to implement an HTTP servers the programmer has to provide a daemon specification which contains, among other parameters, a callback function invoked by OCaml HTTP on well formed HTTP requests received. HTTP responses could be sent over an out_channel connected with client socket, accessible from the callback. . The library contains also facility functions that helps in creating well formed HTTP responses and a tiny HTTP client. |