Provides an SNI-capable SSL configurer and client, Ref. #335. Needs Java >= 8, hostname verification needs Java >= 11. Originally in a separate namespace from `org.httpkit.client` to retain backwards-compatibility with Java < 8.
Deprecated with http-kit v2.7, var retained only for back-compatibility
(ssl-configurer ssl-engine uri)
(ssl-configurer {:keys [hostname-verification? sni?]
:as opts
:or {hostname-verification? (utils/java-version>= 11)
sni? true}}
ssl-engine
uri)
SNI-capable SSL configurer. May be used as an argument to `org.httpkit.client/make-client`: (make-client :ssl-configurer (ssl-configurer))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close