Liking cljdoc? Tell your friends :D

kaocha.cljs2.http-server


accept-reclj

source

accept?clj

(accept? content-type {:keys [accept]})
source

allowed-file-nameclj

source

allowed-file-name?clj

(allowed-file-name? name)
source

default-bindclj

source

default-http-cache-secondsclj

source

default-portclj

source

detect-mime-typeclj

(detect-mime-type file)
source

dir-listingclj

(dir-listing directory excluded-globs follow-symlink? include-hidden?)
source

error-headersclj

source

file-handlerclj

(file-handler {:keys [no-index index-document-path exclude follow-symlink
                      include-hidden dir]}
              {:keys [request-method uri headers] :as req})
source

forbiddenclj

source

http-date-formatclj

source

http-date-formatterclj

(http-date-formatter)
source

http-date-timezoneclj

source

inject-cache-headersclj

(inject-cache-headers {:keys [body] :as response})
source

inject-content-lengthclj

(inject-content-length handler)
source

inject-mime-typeclj

(inject-mime-type handler)
source

inject-server-nameclj

(inject-server-name handler)
source

insecure-uriclj

source

matches-glob?clj

(matches-glob? file)
source

maybe-inject-authclj

(maybe-inject-auth auth handler)
source

method-keyword->strclj

(method-keyword->str request-method)
source

method-not-allowedclj

source

mime-detectorclj

source

not-foundclj

source

not-modifiedclj

source

parse-acceptclj

(parse-accept handler)
source

parse-accept-headerclj

(parse-accept-header accept-header)
source

parse-authclj

(parse-auth auth)

Make sure password is present, if not prompt for it.

Make sure password is present, if not prompt for it.
sourceraw docstring

parse-if-modified-headerclj

(parse-if-modified-header value)
source

password-prompt!clj

(password-prompt!)
source

render-htmlclj

(render-html uri listing)
source

render-textclj

(render-text listing)
source

reply-with-fileclj

(reply-with-file file)
source

reply-with-if-modifiedclj

(reply-with-if-modified {:keys [headers]} {:keys [body] :as response})
source

reply-with-listingclj

(reply-with-listing {:keys [uri] :as req}
                    file
                    excluded-globs
                    follow-symlink?
                    include-hidden?)
source

reply-with-listing-or-indexclj

(reply-with-listing-or-index req
                             dir
                             index-document-path
                             excluded-globs
                             follow-symlink
                             include-hidden)
source

reply-with-redirectclj

(reply-with-redirect new-location)
source

sanitize-uriclj

(sanitize-uri user-dir uri)
source

secure?clj

(secure? uri)
source

startclj

(start options)
source

stopclj

(stop server)
source

symlink?clj

(symlink? file)
source

unauthorizedclj

source

wrap-corsclj

(wrap-cors settings handler)
source

wrap-if-modifiedclj

(wrap-if-modified no-cache? handler)
source

wrap-loggingclj

(wrap-logging handler)
source

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

× close