opium_kernel

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
cohttp>= 0.99.0
cohttp-lwt>= 0.99.0
cow>= 0.10.0
ezjsonm>= 0.4.0
fieldslib>= v0.9.0
hmap
jbuilder
lwt
ppx_fields_conv>= v0.9.0
ppx_sexp_conv>= v0.9.0
re>= 1.3.0
sexplib>= v0.9.0
Availableocaml-version >= "4.02.3"
PublishedJul 31, 2017
Source [http] https://github.com/rgrinberg/opium/archive/v0.16.0.tar.gz
4905ce17175c91e47458fccfd6a8885f
StatisticsInstalled 55 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/opium_kernel/opium_kernel.0.16.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

Opium_kernel is the Unix indpendent core of Opium. Useful for extremely portable environments such as mirage.

Note: This library is still at an early stage so expect breakages until 1.0

Necessary for
opium
>= 0.16.0