babashka.http-client
-
Constructs a `java.net.Authenticator`. Options: * `:user` - the username * `:pass` - the password
function([opts])
Constructs a `java.net.CookieHandler` using `java.net.CookieManager`. Options: * `:store` - an optional `java....
function([opts])
Constructs a `java.util.concurrent.Executor`. Options: * `:threads` - constructs a `ThreadPoolExecutor` with the...
function([opts])
Constructs a `java.net.ProxySelector`. Options: * `:host` - string * `:port` - long
function([opts])
Constructs a `javax.net.ssl.SSLContext`. Options: * `:key-store` - a file, URI or URL or anything else that is com...
function([opts])
Constructs a `javax.net.ssl.SSLParameters`. Options: * `:ciphers` - a list of cipher suite names * `:protocol...
function([opts])
C
Construct a custom client. To get the same behavior as the (implicit) default client, pass `default-client-opts`. Opt...
function([opts])
D
Options used to create the (implicit) default client.
valueConvenience wrapper for `request` with method `:delete`
function([uri] [uri opts])
G
Convenience wrapper for `request` with method `:get`
function([uri] [uri opts])
H
Convenience wrapper for `request` with method `:head`
function([uri] [uri opts])
P
R
Perform request. Returns map with at least `:body`, `:status` Options: * `:uri` - the uri to request (required). ...
function([opts])