From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA24925; Tue, 19 Nov 2002 17:02:07 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA24923 for ; Tue, 19 Nov 2002 17:02:05 +0100 (MET) Received: from cartoonia.phd.cs.unibo.it (phd.cs.unibo.it [130.136.6.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gAJG24X17208 for ; Tue, 19 Nov 2002 17:02:04 +0100 (MET) Received: from lordsoth.takhisis.org ([130.136.6.119]) by cartoonia.phd.cs.unibo.it (8.9.3/8.8.7) with ESMTP id QAA18368 for ; Tue, 19 Nov 2002 16:33:05 +0100 Received: by lordsoth.takhisis.org (Postfix, from userid 3148) id ECE107095; Tue, 19 Nov 2002 17:01:55 +0100 (CET) Date: Tue, 19 Nov 2002 17:01:55 +0100 From: Stefano Zacchiroli To: caml-announce@inria.fr Subject: [Caml-list] OCaml HTTP Daemon library: ocaml-http 0.0.3 Message-ID: <20021119160155.GA11904@lordsoth.takhisis.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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