package opium

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.8.1.tar.gz
sha256=760b6d52cd5da92cd52fd8efcca7049cc4a4979ee37ed29f4c4edc668e971492
md5=af90e438b0e266db40b1d8d60673b9b8

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: 06 May 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.