Liking cljdoc? Tell your friends :D

relative-clj-http.client


cdclj

(cd config)
(cd config path)
(cd config old new)

Change directory in the config.

  • with no param given, jump back to the current base
  • given a path, change relative or absolute URL
    • a single - will change back to the previous URL
    • a leading ~ changes relative to the current base
  • with two params replace any occurence of the first argument in the pwd with the second
Change directory in the config.

- with no param given, jump back to the current base
- given a path, change relative or absolute URL
  - a single `-` will change back to the previous URL
  - a leading `~` changes relative to the current base
- with two params replace any occurence of the first argument in the pwd with the second
sourceraw docstring

default-configclj

Starting config

Starting config
sourceraw docstring

homeclj

(home config)

The starting, or base URL, of the config

The starting, or base URL, of the config
sourceraw docstring

old-pwdclj

(old-pwd config)

The previous url in the config

The previous url in the config
sourceraw docstring

pwdclj

(pwd config)

The current url in the config

The current url in the config
sourceraw docstring

requestclj

(request config method)
(request config method path)
(request config method path request)

Same as clj-http.client/request, but using the passed in config for URL transformation

Same as clj-http.client/request, but using the passed in config for URL transformation
sourceraw docstring

set-defaultclj

(set-default config & args)

Convenience method to set a request default in the config

Convenience method to set a request default in the config
sourceraw docstring

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

× close