package opium

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.13.3.tar.gz
sha256=6439edafd15834691070aaf10ace2a3b93b4367de7afbdb62a6fa3e84c1b7e3a
md5=ec186cb3700f943655b57913d1098b3e

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: 29 Jun 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"
  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.