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

bad-token-msgsclj/s


debug-api?clj


hostsclj/s

Store remote hosts that requests are made to.

Store remote hosts that requests are made to.
raw docstring

http-default-per-routeclj


http-threadsclj


images-urlclj/s


invalid-token-msgclj/s


make-client-urlclj/s

(make-client-url & postfix)

Build a URL pointing to the client.

Build a URL pointing to the client.
raw docstring

make-j2x-urlclj/s

(make-j2x-url & postfix)

Build an API url.

Build an API url.
raw 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
raw docstring

make-urlclj/s

(make-url & postfix)

Build an API url.

Build an API url.
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

thumbor-serverclj/s


timeoutsclj/s

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

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

token-expired-msgclj/s


url-joinclj/s

(url-join host args)

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

× close