Development support for bract.ring module.
Development support for bract.ring module.
(init!)
(init! context)
Initialize environment and the Ring handler.
Initialize environment and the Ring handler.
(init-once!)
(init-once! a-var)
Given a var e.g. (defonce a-var nil)
having logical false value, set it to true
and initialize app in DEV mode,
finally updating the bract.ring.dev/handler
var.
Given a var e.g. `(defonce a-var nil)` having logical false value, set it to `true` and initialize app in DEV mode, finally updating the [[bract.ring.dev/handler]] var.
(log-exception request exception duration-millis)
Log Ring request processing exception.
See: bract.ring.middleware/traffic-log-middleware
, bract.ring.wrapper/traffic-log-wrapper
Log Ring request processing exception. See: `bract.ring.middleware/traffic-log-middleware`, `bract.ring.wrapper/traffic-log-wrapper`
(log-outcome request outcome-string duration-millis)
Common function to log response and exception.
See: log-response
, log-exception
Common function to log response and exception. See: [[log-response]], [[log-exception]]
(log-request request)
Log Ring request.
See: bract.ring.middleware/traffic-log-middleware
, bract.ring.wrapper/traffic-log-wrapper
Log Ring request. See: `bract.ring.middleware/traffic-log-middleware`, `bract.ring.wrapper/traffic-log-wrapper`
(log-response request response duration-millis)
Log Ring response.
See: bract.ring.middleware/traffic-log-middleware
, bract.ring.wrapper/traffic-log-wrapper
Log Ring response. See: `bract.ring.middleware/traffic-log-middleware`, `bract.ring.wrapper/traffic-log-wrapper`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close