(content-type? expected-str)
(decode s)
(delete path port & {:as options})
(encode s)
(encode-body body content-type)
(get path port & {:as options})
(parse-body http-response)
(parse-body {{content-type "Content-Type"} :headers body :body} default)
(patch path port & {:as options})
(post path port & {:as options})
(put path port & {:as options})
(url path port)
(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))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close