Provides iSHARE client interceptors for processing request and responses.
This namespace does not provide not a stable API. Incompatible changes to interceptors (including removal and renaming) should be expected.
Provides iSHARE client interceptors for processing request and responses. This namespace does not provide not a stable API. Incompatible changes to interceptors (including removal and renaming) should be expected.
(fetch-party-info {:ishare/keys [fetch-party-info-fn]
:as request
:or {fetch-party-info-fn fetch-party-info-default}}
party-id)
Request party info from satellite with optional cache.
Takes :ishare/fetch-party-info-fn
from request
to execute request. The
default value for this function is fetch-party-info-default
, which
caches its result for one hour.
Request party info from satellite with optional cache. Takes `:ishare/fetch-party-info-fn` from `request` to execute request. The default value for this function is `fetch-party-info-default`, which caches its result for one hour.
(fetch-party-info* client-info party-id)
Fetch party info from satellite.
Usually you'll want to use fetch-party-info
instead.
Fetch party info from satellite. Usually you'll want to use `fetch-party-info` instead.
(fetch-party-info-default request party-id)
Cached version of fetch-party-info*
with a one hour cache of results.
Cached version of `fetch-party-info*` with a one hour cache of results.
(mk-cached-fetch-party-info ttl-ms)
Create a cached version of fetch-party-info*
.
Create a cached version of `fetch-party-info*`.
(redact-body body)
Remove sensitive params from request body (for logging).
Remove sensitive params from request body (for logging).
Throw on exceptional status codes.
Throws with response data. Strips client info and private information from the thrown response.
Throw on exceptional status codes. Throws with response data. Strips client info and private information from the thrown response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close