Liking cljdoc? Tell your friends :D

qbits.jet.client.http


array-classclj


clientclj

(client)
(client
  {:keys [address-resolution-timeout client-name connect-timeout executor
          follow-redirects? max-redirects idle-timeout stop-timeout
          max-connections-per-destination max-requests-queued-per-destination
          request-buffer-size response-buffer-size scheduler user-agent
          cookie-store remove-idle-destinations? dispatch-io? tcp-no-delay?
          strict-event-ordering? ssl-context-factory transport]
   :or {dispatch-io? true
        transport (HttpClientTransportOverHTTP.)
        response-buffer-size default-buffer-size
        strict-event-ordering? false
        follow-redirects? true
        tcp-no-delay? true
        ssl-context-factory (clojure.core/deref
                              default-insecure-ssl-context-factory)
        request-buffer-size default-buffer-size
        remove-idle-destinations? true}
   :as r})

decode-chunk-xformclj

(decode-chunk-xform as)

default-buffer-sizeclj


default-insecure-ssl-context-factoryclj


deleteclj

(delete client url)
(delete client url request-map)

fold-chunks+decode-xformclj

(fold-chunks+decode-xform as buffer-size)

getclj

(get client url)
(get client url request-map)

(head client url)
(head client url request-map)

postclj

(post client url)
(post client url request-map)

PRequestcljprotocol

encode-bodyclj

(encode-body x)

encode-chunkclj

(encode-chunk x)

encode-content-typeclj

(encode-content-type x)

putclj

(put client url)
(put client url request-map)

requestclj

(request client
         {:keys [url method query-string form-params headers body trailers-fn
                 content-type abort-ch accept as idle-timeout timeout agent
                 follow-redirects? fold-chunked-response?
                 fold-chunked-response-buffer-size auth cookies multipart
                 version]
          :or {method :get
               as :string
               follow-redirects? true
               fold-chunked-response? true
               fold-chunked-response-buffer-size Integer/MAX_VALUE}
          :as request-map})

stop-client!clj

(stop-client! cl)

traceclj

(trace client url)
(trace client url request-map)

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

× close