Skip to content

contextualizer

jarnoux edited this page Jun 23, 2013 · 8 revisions

Description

Contextualizer adds a context member to the request object. Currently context is just the same value as the configuration.

Configuration

Example

"contextualizer": {
    "environment": "dev"
}

--

The configuration of contextualizer can be anything and will be accessible in a middleware by calling req.context.

Clone this wiki locally