macchiato.middleware.defaults

api-defaults

A default configuration for a HTTP API.

secure-api-defaults

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

secure-site-defaults

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

site-defaults

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

wrap-defaults

(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