opium

AuthorRudi Grinberg
LicenseWTFPL
Maintainerrudi.grinberg@gmail.com
Dependencies
&async
cohttp>= 0.10.0&0.12.0
core
cow>= 0.10.0
fieldslib113.01.00
humane-re
oasis
ocamlbuild
ocamlfind
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedMay 14, 2014
Source [http] https://github.com/rgrinberg/opium/archive/v0.8.2.tar.gz
7250ab07c242900819d87718972af781
StatisticsInstalled once last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.8.2/opam

Sinatra like web toolkit based on Async + 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