opium

Author Rudi Grinberg
License MIT
Homepage https://github.com/rgrinberg/opium
Issue Tracker https://github.com/rgrinberg/opium/issues
Maintainer rudi.grinberg@gmail.com
Dependencies
& base64 >= 2.0.0
cmdliner
cohttp >= 0.15.0
core_kernel
cow >= 0.10.0
ezjsonm >= 0.4.0
fieldslib 113.01.00
lwt
magic-mime
oasis
ocamlbuild
ocamlfind
ounit
re >= 1.3.0
sexplib 113.01.00
Available ocaml-version >= "4.01.0"
Published Jun 28, 2015
Source [http] http://github.com/rgrinberg/opium/archive/v0.13.3.tar.gz
ec186cb3700f943655b57913d1098b3e
Statistics Installed 2 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.13.3/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