Liking cljdoc? Tell your friends :D

macchiato.middleware.defaults


api-defaultscljs

A default configuration for a HTTP API.

A default configuration for a HTTP API.
sourceraw docstring

secure-api-defaultscljs

A default configuration for a HTTP API that's accessed securely over HTTPS.

A default configuration for a HTTP API that's accessed securely over HTTPS.
sourceraw docstring

secure-site-defaultscljs

A default configuration for a browser-accessible website that's accessed securely over HTTPS.

A default configuration for a browser-accessible website that's accessed
securely over HTTPS.
sourceraw docstring

site-defaultscljs

A default configuration for a browser-accessible website, based on current best practice.

A default configuration for a browser-accessible website, based on current
best practice.
sourceraw docstring

wrap-defaultscljs

(wrap-defaults handler config)

Wraps a handler in default Ring middleware, as specified by the supplied configuration map. See: api-defaults site-defaults secure-api-defaults secure-site-defaults

Wraps a handler in default Ring middleware, as specified by the supplied
configuration map.
See: api-defaults
     site-defaults
     secure-api-defaults
     secure-site-defaults
sourceraw docstring

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

× close