Liking cljdoc? Tell your friends :D

qbits.jet.client.http


array-classclj

source

clientclj

(client)
(client
  {:keys [address-resolution-timeout byte-buffer-capacity-factor
          byte-buffer-heap-percent byte-buffer-max-queue-length 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})
source

decode-chunk-xformclj

(decode-chunk-xform as)
source

default-buffer-sizeclj

source

default-insecure-ssl-context-factoryclj

source

deleteclj

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

fold-chunks+decode-xformclj

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

getclj

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

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

postclj

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

PRequestcljprotocol

encode-bodyclj

(encode-body x)

encode-chunkclj

(encode-chunk x)

encode-content-typeclj

(encode-content-type x)
source

putclj

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

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})
source

stop-client!clj

(stop-client! cl)
source

traceclj

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

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

× close