Liking cljdoc? Tell your friends :D

com.unbounce.encors.core


adapt-method-nameclj

(adapt-method-name header-name)
source

adapt-method-namesclj

(adapt-method-names methods)
source

apply-cors-policyclj

(apply-cors-policy {:keys [req app origin cors-policy apply-headers]})
source

apply-ring-headersclj

(apply-ring-headers response headers)
source

build-cors-wrapperclj

(build-cors-wrapper app cors-policy apply-headers)
source

cors-common-headersclj

(cors-common-headers origin cors-policy)
source

cors-failureclj

(cors-failure err-msg)
source

cors-preflight-check-max-ageclj

(cors-preflight-check-max-age _ cors-policy)
source

cors-preflight-check-methodclj

(cors-preflight-check-method {:keys [headers] :as req} cors-policy)
source

cors-preflight-check-request-headersclj

(cors-preflight-check-request-headers {:keys [headers] :as req} cors-policy)
source

cors-preflight-headersclj

(cors-preflight-headers req cors-policy)
source

header-string-to-setclj

(header-string-to-set header-str)
source

wrap-corsclj

(wrap-cors handler cors-policy)

CORS Middleware for standard ring applications.

See com.unbounce.encors.types for schema definition of cors-policy

CORS Middleware for standard ring applications.

See com.unbounce.encors.types for schema definition of cors-policy
sourceraw docstring

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

× close