opium_kernel
Sinatra like web toolkit based on Lwt + Cohttp
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
Opium_kernel is the Unix indpendent core of Opium. Useful for extremely portable environments such as mirage.
Note: This library is still at an early stage so expect breakages until 1.0
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 31 Jul 2017
- Authors
- Maintainers
Sources
Dependencies
cow
with-test & >= "0.10.0"
uri
< "2.0.0"
alcotest
with-test
re
>= "1.3.0"
ppx_sexp_conv
>= "v0.9.0"
ppx_fields_conv
>= "v0.9.0"
sexplib
>= "v0.9.0"
fieldslib
>= "v0.9.0"
base64
>= "2.0.0" & < "3.0.0"
ezjsonm
>= "0.4.0" & < "1.2.0"
cohttp-lwt
>= "0.99.0"
cohttp
>= "0.99.0"
jbuilder
>= "1.0+beta7"
ocaml
>= "4.02.3"
Reverse Dependencies
opium
>= "0.16.0" & < "0.19.0"