(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 (clojure.core/deref
default-insecure-ssl-context-factory)
request-buffer-size default-buffer-size
response-buffer-size default-buffer-size}
:as r})
(encode-body x)
(encode-chunk x)
(encode-content-type x)
(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 fold-chunked-response? true}
:as request-map})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close