Liking cljdoc? Tell your friends :D

clj-http.lite.core

Core HTTP request/response implementation.

Core HTTP request/response implementation.
raw docstring

parse-headersclj

(parse-headers conn)

Returns a map of names to values for URLConnection conn.

If a header name appears more than once (like set-cookie) then the value will be a vector containing the values in the order they appeared in the headers.

Returns a map of names to values for URLConnection `conn`.

If a header name appears more than once (like `set-cookie`) then the value
will be a vector containing the values in the order they appeared
in the headers.
sourceraw docstring

requestclj

(request {:keys [request-method scheme server-name server-port uri query-string
                 headers content-type character-encoding body socket-timeout
                 conn-timeout insecure? save-request? follow-redirects
                 chunk-size]
          :as req})

Executes the HTTP request corresponding to the given Ring req map and returns the Ring response map corresponding to the resulting HTTP response.

Executes the HTTP request corresponding to the given Ring `req` map and
returns the Ring response map corresponding to the resulting HTTP response.
sourceraw docstring

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

× close