]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/examples/always_ok_daemon.ml
- split http_parser module (all code that parse http requests and
[helm.git] / helm / DEVEL / ocaml-http / examples / always_ok_daemon.ml
index aafe347e7f9850a8ffca2a3694b6073aab315878..48b5fd4bbc8daa7798a274074b100368955af492 100644 (file)
@@ -23,4 +23,4 @@ open Http_daemon;;
 open Http_response;;
   (* start an http daemon that alway respond with a 200 status code and an empty
   content *)
-start (fun _ _ -> respond_with (new Http_response.response))
+start ~port:9999 (fun _ _ -> respond_with (new Http_response.response))