Babashka http-client: HTTP client for Clojure and babashka built on java.net.http
:body
be java.net.http.HttpRequest$BodyPublisher
:client
option, mostly useful for testingAccept
header, the value is overridden by the default:uri
to response mapbabashka.http-client.websocket
API (mostly based on hato, thanks @gnarroway). See API docs.:ssl-context {:insecure true}
option was made more accepting, see babashka issue #1587:cookie-handler
, :ssl-parameters
, and :executor
(@casselc):authenticator
optionjava.net.URI
as uri directly in request
, get
, etc.:ssl-context
, similar to hatoProxySelector
via :proxy
key:async-then
and :async-catch
callbacks that go together with :async
:follow-redirects
option from :always
to the safer :normal
:request
options earlier to pick up on :interceptors
settingshttp/put
convenience function:multipart
uploads, largely based on hato's implementationbabashka.http-client/<released-version>
(@lispyclouds):head
request:request
option in client
function for passing default request options via client.default-client-opts
, a map which can be used to get same behavior as (implicit) default clientgzip
and deflate
as encoding in default client*/*
in default clientInitial version
Can you improve this documentation? These fine people already did:
Michiel Borkent, Lee Read, Daniel Höxtermann, Chuck Cassel, lotuc, Alex Vear, lvh, icp & Rahuλ DéEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close