Sinatra like web toolkit based on Lwt + Cohttp

Install

Authors

Maintainers

Sources

opium-0.18.0.tbz
sha256=f80ccf9c36665c2db240482eeb0cc968a9e66ad2b7a811298658df52f84b5e28
sha512=345585719e58b8a08b45244123f03e094a9c67ad8c2ee903dac4d8b646703cfea74ab87a82f43cf6113ad394c296bddb4bb5fbd910ed8511693b5ec6867baece

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

Published: 26 Mar 2020

Dependencies (12)

  1. magic-mime
  2. re
  3. ppx_sexp_conv
  4. ppx_fields_conv
  5. cmdliner
  6. logs
  7. lwt
  8. ezjsonm
  9. cohttp-lwt-unix
  10. opium_kernel
  11. dune >= "1.11"
  12. ocaml >= "4.04.1"

Dev Dependencies (1)

  1. alcotest with-test

Used by (1)

  1. sihl < "0.2.0"

Conflicts

    None