opium

AuthorRudi Grinberg
LicenseMIT
Homepagehttps://github.com/rgrinberg/opium
Issue Trackerhttps://github.com/rgrinberg/opium/issues
Maintainerrudi.grinberg@gmail.com
Dependencies
&alcotest
base64>= 2.0.0
cmdliner
cohttp>= 0.15.0
cow>= 0.10.0
ezjsonm>= 0.4.0
fieldslib
hmap
lwt
magic-mime
ocamlfind
omake
ppx_deriving
ppx_fields_conv
ppx_sexp_conv
re>= 1.3.0
sexplib
Availableocaml-version >= "4.01.0"
PublishedNov 29, 2016
Source [http] https://github.com/rgrinberg/opium/archive/v0.15.1.tar.gz
310e17f2a35bfbb7dca64c61aab99084
StatisticsInstalled 33 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium/opium.0.15.1/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