Module Webs_use

module Webs_use: sig .. end
Utility Webs services and layers


Services


val echo : Webs.service
echo is a service that returns the request as a text/plain document.

Layers


val log_req : Format.formatter -> Webs.layer
log_req ppf s is like s but logs the requests on ppf.
val log_resp : Format.formatter -> Webs.layer
response_logger ppf s is like s but logs its responses on ppf.
val log : Format.formatter -> Webs.layer
debug ppf s is log_req ppf (log_resp ppf s).