(sni-enabled-client)
REPL usage example: => (require '[org.httpkit.client :as http]) => (require '[yle-clj-common.httpkit-client :refer :all]) => @(http/get "https://soundcloud.com" {:client (sni-enabled-client)}) In production use, initialize the httpkit-client once and reuse when needed.
REPL usage example: => (require '[org.httpkit.client :as http]) => (require '[yle-clj-common.httpkit-client :refer :all]) => @(http/get "https://soundcloud.com" {:client (sni-enabled-client)}) In production use, initialize the httpkit-client once and reuse when needed.
(sni-enabled-ssl-configurer ssl-engine uri)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close