Browse thread
[Caml-list] OCaml HTTP Daemon library: ocaml-http 0.0.3
- Stefano Zacchiroli
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Stefano Zacchiroli <zack@c...> |
| Subject: | [Caml-list] OCaml HTTP Daemon library: ocaml-http 0.0.3 |
ocaml-http is a library inspired from perl's HTTP::Daemon that permits to write simple HTTP daemons in OCaml, main module is named Http_daemon. Currently GET only HTTP daemons are supported. You can define the behaviour of your daemon defining a callback that is invoked each time an HTTP request is received. A simple OO interface that abstracts over HTTP requests and responses is provided. A set of facility functions for writing callbacks is also provided (e.g. functions to send headers, files, and so on). Regarding daemons' "social life" is possible to specify address and port on which the daemon will listen to, whether or not a child is forked for each request and a timeout after which client connections will be closed. A preliminary release (0.0.3) of ocaml-http is available for download at: Home page: http://www.students.cs.unibo.it/~zacchiro/ocaml-http.en.html Tarball: http://www.students.cs.unibo.it/~zacchiro/stuff/ocaml-http-0.0.3.tar.gz CVS Web: http://www.cs.unibo.it/cgi-bin/cvsweb/helm/DEVEL/ocaml-http/ Feedback is appreciated. Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners