opium

AuthorRudi Grinberg
LicenseMIT
Maintainerrudi.grinberg@gmail.com
Dependencies
&async
cohttp>= 0.12.0&0.99
core
cow>= 0.10.0
fieldslib113.01.00
humane-re
oasis>= 0.4.0
ocamlbuild
ocamlfind
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedNov 14, 2014
Source [http] https://github.com/rgrinberg/opium/archive/v0.10.1.tar.gz
3c5076d96ae9682d94b9fb9565a7a094
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.10.1/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