opium

AuthorRudi Grinberg
LicenseMIT
Homepagehttps://github.com/rgrinberg/opium
Issue Trackerhttps://github.com/rgrinberg/opium/issues
Maintainerrudi.grinberg@gmail.com
Dependencies
&base64>= 2.0.0
cmdliner
cohttp>= 0.15.0&0.99
core_kernel
cow>= 0.10.0
ezjsonm>= 0.4.0
fieldslib113.01.00
humane-re
lwt
oasis
ocamlbuild
ocamlfind
ounit
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedFeb 4, 2015
Source [http] https://github.com/rgrinberg/opium/archive/v0.13.0.tar.gz
5c1b0fb50bbd5fdffc464664cd48738b
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.13.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