package webmachine
A REST toolkit for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
0.6.2.tar.gz
sha256=d6e6567c1e177aefe6f1a62a32ff61942521866ee1579a55ffb2b7970ddc04c4
md5=e49e81e81ac0527e452aa6f6fd5c9616
doc/webmachine/Webmachine/index.html
Module Webmachine
Source
A REST toolkit for OCaml.
Webmachine is a port of the Erlang project of the same name, designed to work as a REST-aware layer on top of cohttp.
To use this module, apply the Make
functor to an IO
and a CLOCK
module, and subclass the resouce virtual class.
The IO
module signature abstracts over monadic futures library. It is a much reduced version of the module signature that appears in Cohttp, and as such is compatible with any module that conforms to Cohttp.S.IO
.
The Rd
module is the means by which handlers access and manipulate request-specific information.
The CLOCK
module signature defines a clock source, that is used with the Webmachine.Make(IO)(Clock) functor.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>