Liking cljdoc? Tell your friends :D

clj-http.core

Core HTTP request/response implementation. Rewrite for Apache 4.3

Core HTTP request/response implementation. Rewrite for Apache 4.3
raw docstring

add-retry-handlerclj

(add-retry-handler builder handler)
source

credentials-providerclj

(credentials-provider)
source

(get-cookie-policy cookie-policy)
source

get-redirect-strategyclj

(get-redirect-strategy redirect-strategy)
source

get-route-plannerclj

(get-route-planner proxy-host proxy-port proxy-ignore-hosts http-url)

Return an HttpRoutePlanner that either use the supplied proxy settings if any, or the JVM/system proxy settings otherwise

Return an HttpRoutePlanner that either use the supplied proxy settings
if any, or the JVM/system proxy settings otherwise
sourceraw docstring

http-clientclj

(http-client {:keys [redirect-strategy retry-handler uri request-interceptor
                     response-interceptor proxy-host proxy-port]}
             conn-mgr
             http-url
             proxy-ignore-host)
source

http-contextclj

(http-context request-config)
source

http-getclj

(http-get)
source

http-request-forclj

(http-request-for request-method http-url body)

Provides the HttpRequest object for a particular request-method and url

Provides the HttpRequest object for a particular request-method and url
sourceraw docstring

make-proxy-methodclj

(make-proxy-method method url)
source

make-proxy-method-with-bodyclj

(make-proxy-method-with-body method)
source

parse-headersclj

(parse-headers headers & [use-header-maps-in-response?])

Takes a HeaderIterator and returns a map of names to values.

If a name appears more than once (like set-cookie) then the value will be a vector containing the values in the order they appeared in the headers.

Takes a HeaderIterator and returns a map of names to values.

If a name appears more than once (like `set-cookie`) then the value
will be a vector containing the values in the order they appeared
in the headers.
sourceraw docstring

proxy-copy-with-bodyclj

source

proxy-delete-with-bodyclj

source

proxy-get-with-bodyclj

source

proxy-move-with-bodyclj

source

proxy-patch-with-bodyclj

source

requestclj

(request {:keys [body conn-timeout conn-request-timeout connection-manager
                 cookie-store cookie-policy headers multipart query-string
                 redirect-strategy follow-redirects max-redirects retry-handler
                 request-method scheme server-name server-port socket-timeout
                 uri response-interceptor proxy-host proxy-port
                 proxy-ignore-hosts proxy-user proxy-pass digest-auth ntlm-auth]
          :as req})
source

request-configclj

(request-config {:keys [conn-timeout socket-timeout conn-request-timeout
                        follow-redirects max-redirects allow-circular-redirects
                        allow-relative-redirects cookie-policy]})
source

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

× close