Catacumba Api Documentation

Version: 2.2.1

catacumba.handlers.misc

autoreloader

(autoreloader)(autoreloader {:keys [dirs], :or {dirs ["src"]}})

cors

(cors {:keys [origin], :as opts})

A chain handler that handles cors related headers.

interceptor

(interceptor callback)

Start interceptor from current context.

It wraps the rest of route chain the execution. It receive a continuation (as a cloure function) that must be called in order for processing to proceed.

log

(log)(log log-fn)