(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-of input)Returns optional parameters map for given input
Returns optional parameters map for given input
(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-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? input)Returns true if given content type has parameters, false otherwise
Returns true if given content type has parameters, false otherwise
(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-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? input)Returns true if input is an application/* media type, false otherwise
Returns true if input is an application/* media type, false otherwise
(parse input)Parses the given input into a media type
Parses the given input into a media type
(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? input)Returns true if input is a image/* media type, false otherwise
Returns true if input is a image/* media type, false otherwise
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |