The request value step hands the executor on a :fetch or a :write effect. Everything past
:url is absent rather than nil when it does not apply, so two requests that mean the same
thing compare equal.
The request value `step` hands the executor on a :fetch or a :write effect. Everything past :url is absent rather than nil when it does not apply, so two requests that mean the same thing compare equal.
(merge-request-headers request extra)Merge extra headers into a built request, more specific headers winning over the ones already
there, and the protocol's content-type still winning over both on a bodied request.
Merge `extra` headers into a built request, more specific headers winning over the ones already there, and the protocol's content-type still winning over both on a bodied request.
(request {:keys [endpoint segment method query body request-id credentials
headers timeout]})Build a request value for the executor from the parts provided, e.g.
{:method "GET" :url "/api/tasks?requestId=tasks:1&sort=owner&direction=asc"}.
credentials and headers say what the request carries on the wire, timeout says how long
the executor may wait for it.
Build a request value for the executor from the parts provided, e.g.
{:method "GET" :url "/api/tasks?requestId=tasks:1&sort=owner&direction=asc"}.
`credentials` and `headers` say what the request carries on the wire, `timeout` says how long
the executor may wait for it.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 |