Liking cljdoc? Tell your friends :D

tailrecursion.ring-proxy


join-pathsclj

(join-paths local-path base-remote accessed-path)

Safely combines a uri and a remote path.

Safely combines a uri and a remote path.
sourceraw docstring

prepare-cookiesclj

(prepare-cookies resp)

Removes the :domain and :secure keys and converts the :expires key (a Date) to a string in the ring response map resp. Returns resp with cookies properly munged.

Removes the :domain and :secure keys and converts the :expires key (a Date)
to a string in the ring response map resp. Returns resp with cookies properly
munged.
sourceraw docstring

run-proxyclj

(run-proxy listen-path listen-port remote-uri http-opts)
source

slurp-binaryclj

(slurp-binary is len)

Reads len bytes from InputStream is and returns a byte array.

Reads len bytes from InputStream is and returns a byte array.
sourceraw docstring

wrap-proxyclj

(wrap-proxy handler proxied-path remote-base-uri & [http-opts])

Proxies requests from proxied-path, a local URI, to the remote URI at remote-base-uri, also a string.

Proxies requests from proxied-path, a local URI, to the remote URI at
remote-base-uri, also a string.
sourceraw docstring

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

× close