Liking cljdoc? Tell your friends :D

zodiac.core


*request*clj

source

*router*clj

source

*session*clj

source

bind-globals-middlwareclj

(bind-globals-middlware handler)
source

exception-middlewareclj

source

html-responseclj

(html-response doc)
(html-response status doc)

Return an HTML ring response. Attempt to render the body as HTML unless its already a string.

Return an HTML ring response. Attempt to render the body as HTML unless its
already a string.
sourceraw docstring

json-responseclj

(json-response data)
(json-response status data)

Return a JSON ring response. Attempt to render the body as JSON unless its already a string.

Return a JSON ring response. Attempt to render the body as JSON unless its
already a string.
sourceraw docstring

Optionsclj

source

options-from-envclj

(options-from-env)

Return an options map from environment variables.

The following options can be set from environment variables: :print-request-diffs? - ZODIAC_PRINT_REQUEST_DIFFS :reload-per-request? - ZODIAC_RELOAD_PER_REQUEST

Return an options map from environment variables.

The following options can be set from environment variables:
:print-request-diffs? - ZODIAC_PRINT_REQUEST_DIFFS
:reload-per-request? - ZODIAC_RELOAD_PER_REQUEST
sourceraw docstring

render-html-middlewareclj

(render-html-middleware handler)
source

startclj

(start)
(start options)
source

stopclj

(stop system)
source

url-forclj

(url-for name-or-path)
(url-for name-or-path args)
(url-for name-or-path args query-params)

Return a url string give a route name and option arg and query params. This functions uses the router for the current request bound to request. If you need to use a different router then temporary bind router to your the route name this url-for

Return a url string give a route name and option arg and query params. This
functions uses the router for the current request bound to *request*. If you
need to use a different router then temporary bind *router* to your  the route name  this url-for 
sourceraw docstring

wrap-contextclj

(wrap-context handler context)
source

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

× close