opium_kernel

Sinatra like web toolkit based on Lwt + Cohttp
Library opium_kernel
Module Opium_kernel . Rock
module Service : sig ... end

A service is simply a function that returns its result asynchronously

module Filter : sig ... end

A filter is a higher order function that transforms a service into another service.

module Request : sig ... end
module Response : sig ... end
module Handler : sig ... end

A handler is a rock specific service

module Middleware : sig ... end

Middleware is a named, simple filter, that only works on rock requests/response

module App : sig ... end