(add-cached-response cofx cached-response xhrio-params)
(add-http-cache cache-key status response)
(add-http-event event-name event-id)
(api-request-map
{:keys [method url params success failure interceptors headers body format raw
with-credentials]
:or {method :get format :json with-credentials true raw false body nil}})
(configure options)
(maybe-add-api-host url)
Prepends api host to requests starting with /
Prepends api host to requests starting with /
(reg-event-http event-name
request
callback
&
{:keys [injected-cofx success-cofx failure-cofx authenticate?
cache?]
:or {injected-cofx []
success-cofx []
failure-cofx []
authenticate? true
cache? false}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close