Which subscriptions an event goes to, what is sent, and what an attempt's outcome means. Pure: the clock, ids and I/O come from the shell.
Which subscriptions an event goes to, what is sent, and what an attempt's outcome means. Pure: the clock, ids and I/O come from the shell.
(attempt-status {:keys [status]} attempt max-attempts):delivered for a 2xx, otherwise :failed, or :dead when this was the
last attempt the queue will make. A redirect is a failure: it is not
followed, since its target was never checked.
`:delivered` for a 2xx, otherwise `:failed`, or `:dead` when this was the last attempt the queue will make. A redirect is a failure: it is not followed, since its target was never checked.
(failure-message {:keys [status error]})What a failed attempt says about itself.
What a failed attempt says about itself.
(headers {:keys [event-id topic]} signature)Request headers for one attempt.
Request headers for one attempt.
(matching-subscriptions subscriptions topic event)The active subscriptions in subscriptions that event on topic goes to.
The active subscriptions in `subscriptions` that `event` on `topic` goes to.
(pattern-matches? pattern topic)Whether topic glob pattern matches topic. * matches any run of
characters, / included: orders/*, *.created, *.
Whether topic glob `pattern` matches `topic`. `*` matches any run of characters, `/` included: `orders/*`, `*.created`, `*`.
(payload-body topic event)The JSON body for event published on topic. Built once per event, so
every attempt sends, and signs, the same bytes.
The JSON body for `event` published on `topic`. Built once per event, so every attempt sends, and signs, the same bytes.
(tenant-allows? subscription event)A subscription with a tenant receives only that tenant's events. One without a tenant is the operator's own and receives every event.
A subscription with a tenant receives only that tenant's events. One without a tenant is the operator's own and receives every event.
topic as a string, namespace included, as the bus names it.
`topic` as a string, namespace included, as the bus names it.
(url-host url)The host of url, lower case, without IPv6 brackets.
The host of `url`, lower case, without IPv6 brackets.
(url-problem url {:keys [require-https?]})Why url cannot be a webhook target, or nil. Checks the shape only; whether
the host is private is the shell's question, since it needs DNS.
Why `url` cannot be a webhook target, or nil. Checks the shape only; whether the host is private is the shell's question, since it needs DNS.
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 |