(client)
(client {:keys [authenticator connect-timeout cookie-handler executor
follow-redirects priority proxy ssl-context ssl-parameters
version]})
Create a HttpClient with provided settings or with default settings if non are provided.
Create a HttpClient with provided settings or with default settings if non are provided.
(-publisher body)
Try to coerce the body to a Publisher of a compatible type.
Try to coerce the body to a Publisher of a compatible type.
(-request this)
Coerce the input to a request.
Coerce the input to a request.
(request {:keys [uri method headers timeout body version]})
Build a request to uri
with method
.
uri
can be URI, URL, Path, File or String.
for POST and PUT requests a body
should be specified. It can be a byte
array, nil, Path, File, Input Stream, String or a BodyPublisher.
Headers, timeout and version are optional.
Build a request to `uri` with `method`. `uri` can be URI, URL, Path, File or String. for POST and PUT requests a `body` should be specified. It can be a byte array, nil, Path, File, Input Stream, String or a BodyPublisher. Headers, timeout and version are optional.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close