package opium
Module Opium.ContextSource
A context holds heterogeneous value and is passed to the requests or responses.
Keys
type 'a key = 'a Rock.Context.keyThe type for keys whose lookup value is of type 'a.
Key
module Key : sig ... endMaps
type t = Rock.Context.tThe type for heterogeneous value maps.
empty
val empty : tempty is the empty map.
is_empty
val is_empty : t -> boolis_empty m is true iff m is empty.
mem
add
singleton
rem
find
find_exn
Utilities
sexp_of_t
pp_hum
pp_hum formats the request t as a standard HTTP request