Liking cljdoc? Tell your friends :D

pantomime.media


APPLICATION_JSONclj

source

APPLICATION_XHTMLclj

source

APPLICATION_XMLclj

source

media-type-namedclj

(media-type-named name)
source

MediaTypeOpscljprotocol

multipart?clj

(multipart? input)

Returns true if input is a multipart/* media type, false otherwise

Returns true if input is a multipart/* media type, false otherwise

parameters-ofclj

(parameters-of input)

Returns optional parameters map for given input

Returns optional parameters map for given input

text?clj

(text? input)

Returns true if input is a text/* media type, false otherwise

Returns true if input is a text/* media type, false otherwise

base-typeclj

(base-type input)

Returns base media type for given input, for example, text/html for text/html; charset=UTF-8

Returns base media type for given input, for example, text/html for text/html; charset=UTF-8

has-parameters?clj

(has-parameters? input)

Returns true if given content type has parameters, false otherwise

Returns true if given content type has parameters, false otherwise

video?clj

(video? input)

Returns true if input is a video/* media type, false otherwise

Returns true if input is a video/* media type, false otherwise

charset-ofclj

(charset-of input)

Returns optional charset given input, for example, UTF-8 for text/html; charset=UTF-8 and nil for text/html

Returns optional charset given input, for example, UTF-8 for text/html; charset=UTF-8 and nil for text/html

application?clj

(application? input)

Returns true if input is an application/* media type, false otherwise

Returns true if input is an application/* media type, false otherwise

parseclj

(parse input)

Parses the given input into a media type

Parses the given input into a media type

audio?clj

(audio? input)

Returns true if input is a audio/* media type, false otherwise

Returns true if input is a audio/* media type, false otherwise

image?clj

(image? input)

Returns true if input is a image/* media type, false otherwise

Returns true if input is a image/* media type, false otherwise
source

TEXT_HTMLclj

source

TEXT_PLAINclj

source

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

× close