Liking cljdoc? Tell your friends :D

clj-http-mock.core


*in-isolation*clj

source

*mock-routes*clj

source

anyclj

source

any-routeclj

source

matches?clj

(matches? wanted val)
source

parse-query-stringclj

(parse-query-string s)
source

parse-urlclj

(parse-url s)
source

query-string-matches?clj

(query-string-matches? route-spec {:keys [query-string]})
source

request-method-matches?clj

(request-method-matches? route-spec {:keys [request-method] :as request})
source

routeclj

(route m)
(route method url)
(route method url query-params)
source

route-matches?clj

(route-matches? route-spec request)
source

scheme-matches?clj

(scheme-matches? route-spec {:keys [scheme]})
source

server-name-matches?clj

(server-name-matches? route-spec {:keys [server-name]})
source

server-port-matches?clj

(server-port-matches? {:keys [scheme port] :as route-spec}
                      {:keys [server-port]})
source

set-in-isolation!clj

(set-in-isolation! true-or-false)
source

set-mock-routes!clj

(set-mock-routes! routes)
source

try-interceptclj

(try-intercept origfn request)
(try-intercept origfn request respond raise)
source

uri-matches?clj

(uri-matches? {:keys [path] :as route-spec} {:keys [uri]})
source

with-mock-routescljmacro

(with-mock-routes routes & body)
source

with-mock-routes-in-isolationcljmacro

(with-mock-routes-in-isolation routes & body)
source

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

× close