Module Webs

Web service interface.

Consult the web service howto for a quick steps to run your first service. A few tools are in are in Webs_kit and gateway connectors to run services can be found here.

Open the module to use it. It defines only modules and types in your scope.


module Http : sig ... end

HTTP nuts and bolts.

module Env : sig ... end

Service environments TODO try to do without.

module Req : sig ... end

HTTP requests.

module Resp : sig ... end

HTTP responses.

type service = Req.t -> Resp.t

The type for services. Maps requests to responses. Note that services should not raise exceptions.


module Connector : sig ... end

Connector commonalities.