Helper functions for the HTTP client.
Helper functions for the HTTP client.
(base64-encode unencoded)
Encode an array of bytes into a base64 encoded string.
Encode an array of bytes into a base64 encoded string.
(deflate b)
Returns a deflate'd version of the given byte array.
Returns a deflate'd version of the given byte array.
(gunzip b)
Returns a gunzip'd version of the given byte array.
Returns a gunzip'd version of the given byte array.
(gzip b)
Returns a gzip'd version of the given byte array.
Returns a gzip'd version of the given byte array.
(inflate b)
Returns a zlib inflate'd version of the given byte array.
Returns a zlib inflate'd version of the given byte array.
(to-byte-array is)
Returns a byte array for the InputStream provided.
Returns a byte array for the InputStream provided.
(url-decode encoded & [encoding])
Returns the form-url-decoded version of the given string, using either a specified encoding or UTF-8 by default.
Returns the form-url-decoded version of the given string, using either a specified encoding or UTF-8 by default.
(url-encode unencoded)
Returns an UTF-8 URL encoded version of the given string.
Returns an UTF-8 URL encoded version of the given string.
(utf8-bytes s)
Returns the UTF-8 bytes corresponding to the given string.
Returns the UTF-8 bytes corresponding to the given string.
(utf8-string b)
Returns the String corresponding to the UTF-8 decoding of the given bytes.
Returns the String corresponding to the UTF-8 decoding of the given bytes.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close