Liking cljdoc? Tell your friends :D

ajax.formats

This file contains the base formats: raw, text and detect. url, json and transit are found in their own files.

This file contains the base formats: raw, text and detect.
url, json and transit are found in their own files.
raw docstring

accept-headercljs

(accept-header {:keys [response-format] :as request})
source

content-type-matchescljs

(content-type-matches content-type)
(content-type-matches content-type accept)
source

detect-content-typecljs

(detect-content-type content-type)
(detect-content-type content-type request)
(detect-content-type content-type request format-entry)
source

detect-response-formatcljs

(detect-response-format opts)
source

detect-response-format-readcljs

(detect-response-format-read request)
(detect-response-format-read request response)
source

get-accept-entriescljs

(get-accept-entries request)
(get-accept-entries request format-entry)
source

get-default-formatcljs

(get-default-format response {:keys [response-format] :as request})
source

get-formatcljs

(get-format request)
(get-format request format-entry)
source

raw-response-formatcljs

(raw-response-format)
(raw-response-format _)

This will literally return whatever the underlying implementation considers has been sent. Obviously, this is highly implementation dependent, gives different results depending on your platform but is nonetheless really rather useful.

This will literally return whatever the underlying implementation
considers has been sent. Obviously, this is highly implementation
dependent, gives different results depending on your platform but
is nonetheless really rather useful.
sourceraw docstring

text-request-formatcljs

(text-request-format)
source

text-response-formatcljs

source

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

× close