Module Webs

Web service interface.

Consult the web service howto for quick steps to run your first service. A few tools 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 Resp : sig ... end

HTTP responses.

module Req : sig ... end

HTTP requests.

type service = Req.t -> Resp.t

The type for services. Maps requests to responses. Note that services should not raise exceptions (but connectors should be prepared to handle spurious ones).


module Connector : sig ... end

Connector commonalities.