(byte-array? arg)
Returns true if arg
is a byte array, otherwise false.
Returns true if `arg` is a byte array, otherwise false.
(compact-map map & [pred])
Returns a map
with all entries removed, where the entrie's value
matches pred
.
Returns a `map` with all entries removed, where the entrie's value matches `pred`.
(content-type response)
Returns the content type of response
.
Returns the content type of `response`.
(format-params params)
Returns OAuth formatted OAuth params.
Returns OAuth formatted OAuth params.
(oauth-keys map)
Returns the OAuth keys in map
.
Returns the OAuth keys in `map`.
(oauth-params map)
Returns a map containing only the OAuth entries.
Returns a map containing only the OAuth entries.
(parse-body body)
Parse body
and return a map with hypenized keys and their values.
Parse `body` and return a map with hypenized keys and their values.
(parse-body-params request)
Parse the body of request
as an URL encoded parameter list.
Parse the body of `request` as an URL encoded parameter list.
(percent-encode unencoded)
Percent encode unencoded
according to RFC 3986, Section 2.1.
Percent encode `unencoded` according to RFC 3986, Section 2.1.
(random-base64 size)
Returns a Base64 encoded string from a random byte array of the specified size.
Returns a Base64 encoded string from a random byte array of the specified size.
(random-bytes size)
Returns a random byte array of the specified size.
Returns a random byte array of the specified size.
(wrap-content-type client content-type)
Returns a HTTP client that sets the Content-Type header to request
.
Returns a HTTP client that sets the Content-Type header to `request`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close