Liking cljdoc? Tell your friends :D

clj-momo.test-helpers.http


content-type?clj

(content-type? expected-str)
source

decodeclj

(decode s)
source

deleteclj

(delete path port & {:as options})
source

edn?clj

source

encodeclj

(encode s)
source

encode-bodyclj

(encode-body body content-type)
source

getclj

(get path port & {:as options})
source

json?clj

source

parse-bodyclj

(parse-body http-response)
(parse-body {{content-type "Content-Type"} :headers body :body} default)
source

patchclj

(patch path port & {:as options})
source

postclj

(post path port & {:as options})
source

putclj

(put path port & {:as options})
source

urlclj

(url path port)
source

with-port-fnclj

(with-port-fn port-fn http-fn)

Helper to compose a fn that knows how to lookup an HTTP port with an HTTP method fn (from above) Example: (def post (http/with-port-fn get-http-port http/post))

Helper to compose a fn that knows how to lookup an HTTP port with
an HTTP method fn (from above)
Example:
  (def post (http/with-port-fn get-http-port http/post))
sourceraw docstring

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

× close