qbits.jet.client.http
->Response
(->Response status headers body)
Positional factory function for class qbits.jet.client.http.Response.
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)
map->Response
(map->Response m__5869__auto__)
Factory function for class qbits.jet.client.http.Response, taking a map of keywords to field values.
PRequest
protocol
members
encode-body
(encode-body x)
encode-chunk
(encode-chunk x)
encode-content-type
(encode-content-type x)
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})