Store credentials used to authenticate API requests. Based on existence in this atom credentials will be tried in top down order.
Store credentials used to authenticate API requests. Based on existence in this atom credentials will be tried in top down order.
Store remote hosts that requests are made to.
Store remote hosts that requests are made to.
(make-client-url & postfix)
Build a URL pointing to the client.
Build a URL pointing to the client.
(make-json-url & args)
Like make-url, but ensures an ending in .json
Like make-url, but ensures an ending in .json
(protocol-prefixed resources)
Prefix the resources with the protocol and format strings.
Prefix the resources with the protocol and format strings.
(read-env-string k)
Read a string using env return nil if nil.
Read a string using env return nil if nil.
(set-credentials username & [password temp-token token])
Set the dynamic credentials to include the username and optionally any other arguments that are passed. If an argument is nil or not passed it will be set to nil in the credentials.
Calling this from Clojure will break if not done from within a previous binding of the credentials variable.
Built to support setting hosts from JavaScript.
Set the dynamic credentials to include the username and optionally any other arguments that are passed. If an argument is nil or not passed it will be set to nil in the credentials. Calling this from Clojure will break if not done from within a previous binding of the *credentials* variable. Built to support setting hosts from JavaScript.
(set-hosts data-host & [client-host j2x-host request-protocol])
Swap values into hosts atom, requires data-host, other args are option but must be provided in order. If an option arg is nil it is ignored, and not swapped into hosts.
Built to support setting hosts from JavaScript.
Swap values into hosts atom, requires data-host, other args are option but must be provided in order. If an option arg is nil it is ignored, and not swapped into hosts. Built to support setting hosts from JavaScript.
Store customizable timeouts to use in the http libraries. In milliseconds.
Store customizable timeouts to use in the http libraries. In milliseconds.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close