package opium

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.13.2.tar.gz
sha256=16aa5b083eef0a077d75bcca6b489dc6b55ec34c7b5e7e7891c30f352dccb7ac
md5=4c1a6139d14ea0b12dff13f290ad2f26

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: 12 Mar 2015

Dependencies (14)

  1. ocamlbuild build
  2. magic-mime
  3. re >= "1.3.0"
  4. sexplib < "113.01.00"
  5. fieldslib < "113.01.00"
  6. cmdliner
  7. core_kernel
  8. lwt
  9. base64 >= "2.0.0" & < "3.0.0"
  10. ezjsonm >= "0.4.0"
  11. cohttp >= "0.15.0" & < "0.99"
  12. oasis build
  13. ocamlfind build
  14. ocaml >= "4.01.0"

Dev Dependencies (2)

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

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.