Liking cljdoc? Tell your friends :D

threatgrid.clj-http-fake.global

The original clj-http.fake API.

Requires optional dependencies:

  • robert/hooke
  • ring/ring-codec
  • org.clojure/math.combinatorics
  • clj-http/clj-http
The original clj-http.fake API.

Requires optional dependencies:
- robert/hooke
- ring/ring-codec
- org.clojure/math.combinatorics
- clj-http/clj-http
raw docstring

global-routes-atomclj

Internal

Internal
sourceraw docstring

set-fake-routes!clj

(set-fake-routes! routes)

Internal

Internal
sourceraw docstring

with-fake-routescljmacro

(with-fake-routes routes & body)

Makes all wrapped clj-http requests first match against given routes. The actual HTTP request will be sent only if no matches are found.

Thread local.

Makes all wrapped clj-http requests first match against given routes.
The actual HTTP request will be sent only if no matches are found.

Thread local.
sourceraw docstring

with-fake-routes-in-isolationcljmacro

(with-fake-routes-in-isolation routes & body)

Makes all wrapped clj-http requests first match against given routes. If no route matches, an exception is thrown.

Thread local.

Makes all wrapped clj-http requests first match against given routes.
If no route matches, an exception is thrown.

Thread local.
sourceraw docstring

with-global-fake-routescljmacro

(with-global-fake-routes routes & body)

Like with-fake-routes, but visible to all threads.

Like with-fake-routes, but visible to all threads.
sourceraw docstring

with-global-fake-routes-in-isolationcljmacro

(with-global-fake-routes-in-isolation routes & body)

Like with-fake-routes-in-isolation, but visible to all threads.

Like with-fake-routes-in-isolation, but visible to all threads.
sourceraw docstring

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

× close