opium

Sinatra like web toolkit based on Lwt + Cohttp
Description

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

Install
Published
31 Jul 2017
Sources
v0.16.0.tar.gz
md5=4905ce17175c91e47458fccfd6a8885f
Dependencies
cow
with-test & >= "0.10.0"
alcotest
with-test
re
>= "1.3.0"
ppx_sexp_conv
>= "v0.9.0"
ppx_fields_conv
>= "v0.9.0"
lwt
< "4.0.0"
cohttp-lwt-unix
>= "0.99.0"
jbuilder
>= "1.0+beta7"
ocaml
>= "4.02.3"
Reverse Dependencies