Liking cljdoc? Tell your friends :D

monkey.mailman.interceptors

Event handler interceptors. This uses the Pedestal interceptor library under the hood. Most functions are really just wrappers around Pedestal functions.

Event handler interceptors.  This uses the Pedestal interceptor library
under the hood.  Most functions are really just wrappers around Pedestal
functions.
raw docstring

add-interceptorsclj

(add-interceptors ctx interceptors)

Adds the given interceptors to the context

Adds the given interceptors to the context
sourceraw docstring

empty-contextclj

source

executeclj

Executes the interceptor chain with given context as argument.

Executes the interceptor chain with given context as argument.
sourceraw docstring

handler-interceptorclj

(handler-interceptor handler)

Interceptor that invokes the handler with the context. Updates the context with the handler return value so it matches the handler-result spec.

Interceptor that invokes the handler with the context.  Updates the context
with the handler return value so it matches the `handler-result` spec.
sourceraw docstring

interceptorclj

Converts its argument in an interceptor

Converts its argument in an interceptor
sourceraw docstring

interceptor-handlerclj

(interceptor-handler interceptors)

Creates an event handler fn that uses the given interceptors as the interceptor chain. Executes the chain with the event set in the context.

Creates an event handler fn that uses the given interceptors as the interceptor
chain.  Executes the chain with the event set in the context.
sourceraw docstring

make-contextclj

(make-context evt)

Creates an initial interceptor context for given event.

Creates an initial interceptor context for given event.
sourceraw docstring

sanitize-resultclj

(sanitize-result & {:keys [event?] :or {event? s/event?}})
source

set-eventclj

(set-event ctx evt)

Sets the event on the context

Sets the event on the context
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close