(async method location opts on-success on-failure)
A wrapper around clj-http that adds:
Additional arguments that could be passed through opts:
A wrapper around clj-http that adds: - logs response code and duration of the call - reports per-endpoint metrics about rates and latency Additional arguments that could be passed through opts: - ::http/service-name will be used for logging and tracing (if not set, a service name will be extracted from the url) - ::http/route-name will be used for logging, tracing and for metrics (surrounded with common prefix and status) - ::http/circuit-breaker to enable the pattern - ::http/fallback to call when circuit is open or exception happened (timeout) - ::http/retries if you want to retry on failure
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close