(client opts)(client client opts)Creates new client from opts or creates a new client from a client,
copying it's settings and extra opts. Returned client can be used with
request.
Options:
:call-timeout (in ms):read-timeout (in ms):write-timeout (in ms):connect-timeout (in ms):protocols - one of "http/1.0", "http/1.1", "h2", "h2_prior_knowledge", "quic", "spdy/3.1", "h3":dispatcher : map of :executor, :max-requests, :max-requests-per-host:retry-on-connection-failure:follow-redirects:ssl-socket-factory:follow-ssl-redirects:add-network-interceptors:add-interceptorsCreates new `client` from `opts` or creates a new `client` from a `client`, copying it's settings and extra `opts`. Returned client can be used with `request`. Options: * `:call-timeout` (in ms) * `:read-timeout` (in ms) * `:write-timeout` (in ms) * `:connect-timeout` (in ms) * `:protocols` - one of "http/1.0", "http/1.1", "h2", "h2_prior_knowledge", "quic", "spdy/3.1", "h3" * `:dispatcher` : map of `:executor`, `:max-requests`, `:max-requests-per-host` * `:retry-on-connection-failure` * `:follow-redirects` * `:ssl-socket-factory` * `:follow-ssl-redirects` * `:add-network-interceptors` * `:add-interceptors`
(request client request-map)Performs a http request via client, using request-map as payload.
Returns a ring response map
Performs a http request via `client`, using `request-map` as payload. Returns a ring response map
(set-client-options! builder opts)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |