Liking cljdoc? Tell your friends :D

milia.utils.remote


*credentials*clj/s

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.
sourceraw docstring

bad-token-msgsclj/s

source

debug-api?clj

source

hostsclj/s

Store remote hosts that requests are made to.

Store remote hosts that requests are made to.
sourceraw docstring

http-default-per-routeclj

source

http-threadsclj

source

images-urlclj/s

source

invalid-token-msgclj/s

source

make-client-urlclj/s

(make-client-url & postfix)

Build a URL pointing to the client.

Build a URL pointing to the client.
sourceraw docstring

make-j2x-urlclj/s

(make-j2x-url & postfix)

Build an API url.

Build an API url.
sourceraw docstring

make-json-urlclj/s

(make-json-url & args)

Like make-url, but ensures an ending in .json

Like make-url, but ensures an ending in .json
sourceraw docstring

make-urlclj/s

(make-url & postfix)

Build an API url.

Build an API url.
sourceraw docstring

protocol-prefixedclj/s

(protocol-prefixed resources)

Prefix the resources with the protocol and format strings.

Prefix the resources with the protocol and format strings.
sourceraw docstring

read-env-stringclj

(read-env-string k)

Read a string using env return nil if nil.

Read a string using env return nil if nil.
sourceraw docstring

set-credentialsclj/s

(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.
sourceraw docstring

set-hostsclj/s

(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.
sourceraw docstring

thumbor-serverclj/s

source

timeoutsclj/s

Store customizable timeouts to use in the http libraries. In milliseconds.

Store customizable timeouts to use in the http libraries. In milliseconds.
sourceraw docstring

token-expired-msgclj/s

source

url-joinclj/s

(url-join host args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close