Liking cljdoc? Tell your friends :D

muuntaja.core


available-charsetsclj

Set of recognised charsets by the current JVM

Set of recognised charsets by the current JVM
raw docstring

charsetsclj

(charsets m)

Set of charsets that the Muuntaja instance can handle

Set of charsets that the Muuntaja instance can handle
raw docstring

createclj

(create)
(create muuntaja-or-options)

Creates a new Muuntaja intance from a given prototype:

  • existing Muuntaja (no-op)
  • options-map (new created)
  • nothing (new created with default-options)
Creates a new Muuntaja intance from a given prototype:
- existing Muuntaja (no-op)
- options-map (new created)
- nothing (new created with default-options)
raw docstring

decodeclj

(decode m format data)
(decode m format data charset)

Decode data into the given format. Returns InputStream or throws.

Decode data into the given format. Returns InputStream or throws.
raw docstring

decodesclj

(decodes m)

Set of formats that the Muuntaja instance can decode

Set of formats that the Muuntaja instance can decode
raw docstring

default-charsetclj

(default-charset m)

Default charset of the Muuntaja instance

Default charset of the Muuntaja instance
raw docstring

default-formatclj

(default-format m)

Default format of the Muuntaja instance

Default format of the Muuntaja instance
raw docstring

default-optionsclj


encodeclj

(encode m format data)
(encode m format data charset)

Encode data into the given format. Returns InputStream or throws.

Encode data into the given format. Returns InputStream or throws.
raw docstring

encode-collectionsclj

(encode-collections _ response)

encodesclj

(encodes m)

Set of formats that the Muuntaja instance can encode

Set of formats that the Muuntaja instance can encode
raw docstring

extract-accept-charset-ringclj

(extract-accept-charset-ring request)

Extracts accept-charset from ring-request.

Extracts accept-charset from ring-request.
raw docstring

extract-accept-ringclj

(extract-accept-ring request)

Extracts accept from ring-request.

Extracts accept from ring-request.
raw docstring

extract-content-type-ringclj

(extract-content-type-ring request)

Extracts content-type from ring-request.

Extracts content-type from ring-request.
raw docstring

formatsclj

(formats m)

Set of formats that the Muuntaja instance can decode or encode

Set of formats that the Muuntaja instance can decode or encode
raw docstring

get-request-format-and-charsetclj

(get-request-format-and-charset request)

get-response-format-and-charsetclj

(get-response-format-and-charset request)

installclj

(install options format)
(install options format name)

instanceclj

the default instance

the default instance
raw docstring

matchersclj

(matchers m)

Map of format->regexp that the Muuntaja instance knows

Map of format->regexp that the Muuntaja instance knows
raw docstring

Muuntajacljprotocol

adaptersclj

(adapters this)

decoderclj

(decoder this format)

encoderclj

(encoder this format)

optionsclj

(options this)

muuntaja?clj

(muuntaja? x)

MuuntajaHttpcljprotocol

format-requestclj

(format-request this request)

format-responseclj

(format-response this request response)

negotiate-and-format-requestclj

(negotiate-and-format-request this request)

negotiate-request-responseclj

(negotiate-request-response this request)

request-formatclj

(request-format this request)

response-formatclj

(response-format this request)

select-formatsclj

(select-formats options formats)

set-response-content-typeclj

(set-response-content-type response content-type)

slurpclj

(slurp x)

transform-formatsclj

(transform-formats options f)

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

× close