opium

AuthorRudi Grinberg
LicenseWTFPL
Maintainerrudi.grinberg@gmail.com
Dependencies
&async
cohttp>= 0.10.0&0.12.0
core
cow0.10.0
fieldslib113.01.00
humane-re
oasis
ocamlbuild
ocamlfind
sexplib113.01.00
Availableocaml-version >= "4.01.0"
PublishedMay 6, 2014
Source [http] https://github.com/rgrinberg/opium/archive/v0.8.1.tar.gz
af90e438b0e266db40b1d8d60673b9b8
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.8.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