package simple_httpd

  1. Overview
  2. Docs
Simple HTTP server using ocaml 5 domains

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0.1.tar.gz
md5=92fe48592979d21002e66416c21bf398
sha512=88f090ce45b81cf244f248670608ff71c0db206da5de859c5e784e4fc59698acb329218bfffc81f4ff9796ae465c23e1faf08aaee804cb22dfe50cea757a854d

doc/simple_httpd/Simple_httpd/Host/index.html

Module Simple_httpd.HostSource

Hight level module to write server handling multiple hosts/addresses

Sourcemodule type Init = sig ... end

A module of this type is provided to Init functor to allow you to initialize the route of your host

Sourcemodule type Host = sig ... end

Define a module a this type to serve some "host"

Sourceval start_server : (module Server.Parameters) -> (module Host) list -> unit

start a server with the given list of Host