opium

AuthorRudi Grinberg
LicenseMIT
Maintainerrudi.grinberg@gmail.com
Dependencies
&cohttp>= 0.12.0&0.99
core
cow>= 0.10.0
fieldslib113.01.00
humane-re
lwt
oasis
ocamlbuild
ocamlfind
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedDec 16, 2014
Source [http] https://github.com/rgrinberg/opium/archive/v0.11.0.tar.gz
0609879503ba06dafd2b31e469dae29c
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.11.0/opam

Sinatra like web toolkit based on Lwt + Cohttp

Opium is a minimalistic library for quickly binding functions to http routes. Its features include (but not limited to):

  • Middleware system for app independent components
  • A simple router for matching urls and parsing parameters
  • Request/Response pretty printing for easier debugging

Note: This library is still at an early stage so expect breakages until 1.0

No package is dependent