opium

AuthorRudi Grinberg
LicenseWTFPL
Maintainerrudi.grinberg@gmail.com
Dependencies
&async
cohttp0.12.0
core
cow
fieldslib113.01.00
oasis
ocamlbuild
ocamlfind
pcre
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedMar 3, 2014
Source [http] https://github.com/rgrinberg/opium/archive/v0.3.2.tar.gz
5a6794ae162de709e8724d164aca122a
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.3.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 PCRE based router for matching url routes
  • 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