Liking cljdoc? Tell your friends :D

java-net-http-client.client


*buffer-size*clj

source

*connect-timeout*clj

source

*follow-redirects*clj

source

add-query-paramsclj

(add-query-params url query-params)

Takes a URL and a map of query params and returns a URL with query params attached.

Takes a URL and a map of query params and returns a URL with query params attached.
sourceraw docstring

default-headersclj

source

http-requestclj

(http-request {:keys [method url headers cookies body] :as req} callback)
source

requestclj

(request u & [method headers cookies body])

Perform an HTTP request on URL u.

Perform an HTTP request on URL u.
sourceraw docstring

set-system-proxy!clj

(set-system-proxy! host port)

Java's HttpURLConnection cannot do per-request proxying. Instead, system properties are used. This function mutates the global setting. For per-request proxying, use the Apache HTTP client.

Java's HttpURLConnection cannot do per-request proxying. Instead,
system properties are used. This function mutates the global setting.
For per-request proxying, use the Apache HTTP client.
sourceraw docstring

urlclj

(url u)

If u is an instance of java.net.URL then returns it without modification, otherwise tries to instantiate a java.net.URL with url as its sole argument.

If u is an instance of java.net.URL then returns it without
modification, otherwise tries to instantiate a java.net.URL with
url as its sole argument.
sourceraw docstring

url-encodeclj

(url-encode arg)

Wrapper around java.net.URLEncoder returning a (UTF-8) URL encoded representation of argument, either a string or map.

Wrapper around java.net.URLEncoder returning a (UTF-8) URL encoded
representation of argument, either a string or map.
sourceraw docstring

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

× close