]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/examples/obj_foo.ml
no longer use -pack and Http.*, now interface is the usual Http_*
[helm.git] / helm / DEVEL / ocaml-http / examples / obj_foo.ml
index 98e024045786d0937f571a1957face4105342b33..d28c7e4acc5a22957451da32b7a1cdbd91c1294c 100644 (file)
@@ -20,6 +20,6 @@
 *)
 
 let callback req outchan =
-  Http.Daemon.respond_error ~body:(req#param "foo") outchan
+  Http_daemon.respond_error ~body:(req#param "foo") outchan
 in
-Http.Daemon.start' ~addr:"127.0.0.1" ~port:9999 callback
+Http_daemon.start' ~addr:"127.0.0.1" ~port:9999 callback