package opium

  1. Overview
  2. No Docs
Sinatra like web toolkit based on Lwt + Cohttp

Install

Dune Dependency

Authors

Maintainers

Sources

v0.16.0.tar.gz
sha256=89a3595a2913b200b85ddf5b99034f86e8c30e81fab452a3c17a650063fd17b6
md5=4905ce17175c91e47458fccfd6a8885f

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

Published: 31 Jul 2017

Dependencies (11)

  1. magic-mime
  2. re >= "1.3.0"
  3. ppx_sexp_conv >= "v0.9.0"
  4. ppx_fields_conv >= "v0.9.0"
  5. cmdliner
  6. lwt < "4.0.0"
  7. base-unix
  8. cohttp-lwt-unix >= "0.99.0"
  9. opium_kernel
  10. jbuilder >= "1.0+beta7"
  11. ocaml >= "4.02.3"

Dev Dependencies (2)

  1. cow with-test & >= "0.10.0"
  2. alcotest with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.