package opium

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.9.0.tar.gz
sha256=b94c6e1b689136cf5c9b04b4f62d32747411c4b29669cf4e4b4fdceca54a1496
md5=ab4835da33cba26d86c1d1b8a1b8ede3

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: 16 Jul 2014

Dependencies (11)

  1. ocamlbuild build
  2. cow >= "0.10.0"
  3. humane-re
  4. sexplib < "113.01.00"
  5. fieldslib < "113.01.00"
  6. core
  7. async
  8. oasis
  9. cohttp >= "0.10.0" & < "0.12.0"
  10. ocamlfind
  11. ocaml >= "4.01.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.