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)

basic-auth-valueclj

(basic-auth-value basic-auth)

content-type-valueclj

(content-type-value type)

deleteclj

(delete url & [req])

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

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

follow-redirectclj

(follow-redirect client req resp)

generate-query-stringclj

(generate-query-string params)

getclj

(get url & [req])

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

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

(head url & [req])

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

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

parse-urlclj

(parse-url url)

parse-user-infoclj

(parse-user-info user-info)

postclj

(post url & [req])

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

Like #'request, but sets the :method and :url as appropriate.
raw 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.
raw 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.
raw docstring

unexceptional-status?clj


updateclj

(update m k f & args)

when-posclj

(when-pos v)

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.
raw docstring

wrap-acceptclj

(wrap-accept client)

wrap-accept-encodingclj

(wrap-accept-encoding client)

wrap-basic-authclj

(wrap-basic-auth client)

wrap-content-typeclj

(wrap-content-type client)

wrap-decompressionclj

(wrap-decompression client)

wrap-exceptionsclj

(wrap-exceptions client)

wrap-form-paramsclj

(wrap-form-params client)

wrap-input-coercionclj

(wrap-input-coercion client)

wrap-methodclj

(wrap-method client)

wrap-output-coercionclj

(wrap-output-coercion client)

wrap-query-paramsclj

(wrap-query-params client)

wrap-redirectsclj

(wrap-redirects client)

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.
raw docstring

wrap-unknown-hostclj

(wrap-unknown-host client)

wrap-urlclj

(wrap-url client)

wrap-user-infoclj

(wrap-user-info client)

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

× close