qbits.jet.client.http

->Response

(->Response status headers body)

Positional factory function for class qbits.jet.client.http.Response.

array-class

client

(client {:keys [url address-resolution-timeout connect-timeout 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], :or {remove-idle-destinations? true, dispatch-io? true, follow-redirects? true, tcp-no-delay? true, strict-event-ordering? false, ssl-context-factory ssl/insecure-ssl-context-factory, request-buffer-size default-buffer-size, response-buffer-size default-buffer-size}, :as r})(client)

decode-chunk-xform

(decode-chunk-xform as)

default-buffer-size

delete

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

fold-chunks+decode-xform

(fold-chunks+decode-xform as)

get

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

head

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

map->Response

(map->Response m__5869__auto__)

Factory function for class qbits.jet.client.http.Response, taking a map of keywords to field values.

post

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

PRequest

protocol

members

encode-body

(encode-body x)

encode-chunk

(encode-chunk x)

encode-content-type

(encode-content-type x)

put

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

request

(request client {:keys [url method query-string form-params headers body content-type accept as idle-timeout timeout agent follow-redirects? fold-chunked-response?], :or {method :get, as :string, follow-redirects? true}, :as request-map})

stop-client!

(stop-client! cl)

trace

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