package simple_httpd

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.1.tar.gz
md5=91bac42325d71caf3af41a26b0e6a2df
sha512=e34b117eb44899c2e299069143bf857122f35bb157d988137d6034892b8a6b419eec893c13a620b8d416a42246777d46291a715ed4e719be354e37651331dbf0

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 : ?start_functions:(unit -> unit) list -> (module Server.Parameters) -> (module Host) list -> unit

start a server with the given list of Host