Liking cljdoc? Tell your friends :D

clj-http.lite.util

Helper functions for the HTTP client.

Helper functions for the HTTP client.
raw docstring

base64-encodeclj

(base64-encode unencoded)

Encode an array of bytes into a base64 encoded string.

Encode an array of bytes into a base64 encoded string.
sourceraw docstring

deflateclj

(deflate b)

Returns a deflate'd version of the given byte array.

Returns a deflate'd version of the given byte array.
sourceraw docstring

gunzipclj

(gunzip b)

Returns a gunzip'd version of the given byte array.

Returns a gunzip'd version of the given byte array.
sourceraw docstring

gzipclj

(gzip b)

Returns a gzip'd version of the given byte array.

Returns a gzip'd version of the given byte array.
sourceraw docstring

inflateclj

(inflate b)

Returns a zlib inflate'd version of the given byte array.

Returns a zlib inflate'd version of the given byte array.
sourceraw docstring

to-byte-arrayclj

(to-byte-array is)

Returns a byte array for the InputStream provided.

Returns a byte array for the InputStream provided.
sourceraw docstring

url-decodeclj

(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.
sourceraw docstring

url-encodeclj

(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.
sourceraw docstring

utf8-bytesclj

(utf8-bytes s)

Returns the UTF-8 bytes corresponding to the given string.

Returns the UTF-8 bytes corresponding to the given string.
sourceraw docstring

utf8-stringclj

(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.
sourceraw docstring

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

× close