Liking cljdoc? Tell your friends :D

bidi.vhosts


coerce-to-vhostclj

source

coerce-to-vhostsclj

source

find-handlerclj

(find-handler vhosts-model req)
source

hostclj

(host req)

Get the real host from a request, taking into account reverse-proxy headers

Get the real host from a request, taking into account reverse-proxy headers
sourceraw docstring

host-forclj

source

href-forclj

source

make-default-not-found-handlerclj

(make-default-not-found-handler vhosts-model)
source

make-handlerclj

(make-handler vhosts-model)
(make-handler vhosts-model handler-fn)
(make-handler vhosts-model handler-fn not-found)
source

path-forclj

source

prioritize-vhostsclj

(prioritize-vhosts vhosts-model vhost)
source

redirectclj

(redirect target & [opts])
source

relativizeclj

(relativize from to)
source

schemeclj

(scheme req)

Get the real scheme (as a keyword) from a request, taking into account reverse-proxy headers

Get the real scheme (as a keyword) from a request, taking into
account reverse-proxy headers
sourceraw docstring

scheme-forclj

source

uri->hostclj

(uri->host uri)
source

uri-forcljdeprecated

source

uri-infoclj

(uri-info prioritized-vhosts
          handler
          &
          [{:keys [request vhost route-params query-params prefer fragment
                   path-info]
            :or {prefer :local}
            :as options}])

Return URI info as a map.

Return URI info as a map.
sourceraw docstring

vhosts->rootsclj

(vhosts->roots vhosts request)
source

vhosts-modelclj

(vhosts-model & vhosts-with-routes)
source

VHostWithRoutesclj

sourceraw docstring

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

× close