Liking cljdoc? Tell your friends :D

blueprint.handler

Facilities to build an asynchronous handler, compatible with aleph, out of an interceptor chain.

This builds an opinionated chain with sane defaults, and a way to adapt the chain to the consumer's liking.

Processing of the chain is done by interceptor.

Facilities to build an asynchronous handler, compatible with
aleph, out of an interceptor chain.

This builds an opinionated chain with sane defaults, and a way
to adapt the chain to the consumer's liking.

Processing of the chain is done by
[interceptor](https://github.com/exoscale/interceptor).
raw docstring

build-chainclj

(build-chain config)

default-interceptorsclj

The default interceptor chain. doc/interceptor.md should be updated when this changes.

The default interceptor chain. doc/interceptor.md
should be updated when this changes.
raw docstring

original-requestclj

Fetch original request from a context

Fetch original request from a context
raw docstring

ring-handlerclj

(ring-handler config)
(ring-handler definition handler)
(ring-handler definition handler config)

Build a ring handler from a configuration map, optionally takes the two required arguments: the API definition and handler function as arguments.

Yields a function of a single request argument which processes the chain and yields a final deferred ring response

Build a ring handler from a configuration map, optionally
takes the two required arguments: the API definition and
handler function as arguments.

Yields a function of a single request argument which
processes the chain and yields a final deferred ring
response
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close