Liking cljdoc? Tell your friends :D

clj-http.lite.client

Batteries-included HTTP client.

Batteries-included HTTP client.
raw docstring

accept-encoding-valueclj

(accept-encoding-value accept-encoding)
source

basic-auth-valueclj

(basic-auth-value basic-auth)
source

content-type-valueclj

(content-type-value type)
source

deleteclj

(delete url & [req])

Like #'request, but sets the :method and :url as appropriate.

Like #'request, but sets the :method and :url as appropriate.
sourceraw docstring

follow-redirectclj

(follow-redirect client req resp)
source

generate-query-stringclj

(generate-query-string params)
source

getclj

(get url & [req])

Like #'request, but sets the :method and :url as appropriate.

Like #'request, but sets the :method and :url as appropriate.
sourceraw docstring

(head url & [req])

Like #'request, but sets the :method and :url as appropriate.

Like #'request, but sets the :method and :url as appropriate.
sourceraw docstring

parse-urlclj

(parse-url url)
source

parse-user-infoclj

(parse-user-info user-info)
source

postclj

(post url & [req])

Like #'request, but sets the :method and :url as appropriate.

Like #'request, but sets the :method and :url as appropriate.
sourceraw docstring

putclj

(put url & [req])

Like #'request, but sets the :method and :url as appropriate.

Like #'request, but sets the :method and :url as appropriate.
sourceraw docstring

requestclj

Executes the HTTP request corresponding to the given map and returns the response map for corresponding to the resulting HTTP response.

In addition to the standard Ring request keys, the following keys are also recognized:

  • :url
  • :method
  • :query-params
  • :basic-auth
  • :content-type
  • :accept
  • :accept-encoding
  • :as

The following additional behaviors over also automatically enabled:

  • Exceptions are thrown for status codes other than 200-207, 300-303, or 307
  • Gzip and deflate responses are accepted and decompressed
  • Input and output bodies are coerced as required and indicated by the :as option.
Executes the HTTP request corresponding to the given map and returns
 the response map for corresponding to the resulting HTTP response.

 In addition to the standard Ring request keys, the following keys are also
 recognized:
 * :url
 * :method
 * :query-params
 * :basic-auth
 * :content-type
 * :accept
 * :accept-encoding
 * :as

The following additional behaviors over also automatically enabled:
 * Exceptions are thrown for status codes other than 200-207, 300-303, or 307
 * Gzip and deflate responses are accepted and decompressed
 * Input and output bodies are coerced as required and indicated by the :as
   option.
sourceraw docstring

unexceptional-status?clj

source

updateclj

(update m k f & args)
source

when-posclj

(when-pos v)
source

with-connection-poolcljmacro

(with-connection-pool opts & body)

This macro is a no-op, but left in to support backward-compatibility with clj-http.

This macro is a no-op, but left in to support backward-compatibility
with clj-http.
sourceraw docstring

wrap-acceptclj

(wrap-accept client)
source

wrap-accept-encodingclj

(wrap-accept-encoding client)
source

wrap-basic-authclj

(wrap-basic-auth client)
source

wrap-content-typeclj

(wrap-content-type client)
source

wrap-decompressionclj

(wrap-decompression client)
source

wrap-exceptionsclj

(wrap-exceptions client)
source

wrap-form-paramsclj

(wrap-form-params client)
source

wrap-input-coercionclj

(wrap-input-coercion client)
source

wrap-methodclj

(wrap-method client)
source

wrap-output-coercionclj

(wrap-output-coercion client)
source

wrap-query-paramsclj

(wrap-query-params client)
source

wrap-redirectsclj

(wrap-redirects client)
source

wrap-requestclj

(wrap-request request)

Returns a battaries-included HTTP request function coresponding to the given core client. See client/client.

Returns a battaries-included HTTP request function coresponding to the given
core client. See client/client.
sourceraw docstring

wrap-unknown-hostclj

(wrap-unknown-host client)
source

wrap-urlclj

(wrap-url client)
source

wrap-user-infoclj

(wrap-user-info client)
source

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

× close