]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/http_constants.mli
ported debian stuff to ocaml 3.08
[helm.git] / helm / DEVEL / ocaml-http / http_constants.mli
index 881fe906af5336d203d5a0bd108d9fd8aa5cd7d1..c00edebb63b1303418d2fbc63a48dab922b44024 100644 (file)
@@ -2,7 +2,7 @@
 (*
   OCaml HTTP - do it yourself (fully OCaml) HTTP daemon
 
-  Copyright (C) <2002> Stefano Zacchiroli <zack@cs.unibo.it>
+  Copyright (C) <2002-2004> Stefano Zacchiroli <zack@cs.unibo.it>
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -21,6 +21,8 @@
 
 (** Constants *)
 
+open Http_types
+
   (** default HTTP version *)
 val version: Http_types.version
 
@@ -30,3 +32,10 @@ val server_string: string
   (** "\r\n" string *)
 val crlf: string
 
+  (** {2 daemon default values} *)
+
+val default_addr: string        (** default listen address *)
+val default_port: int           (** default listen port *)
+val default_timeout: int        (** default callbacks timeout *)
+val default_mode: daemon_mode   (** default request handling mode *)
+