Reorganize sync and async clients.
This commit is contained in:
parent
f7970ab978
commit
96ad26b054
4 changed files with 7 additions and 7 deletions
|
@ -5,5 +5,5 @@ providing some extra functionality for configuring SSL in a way
|
|||
compatible with Puppet.
|
||||
|
||||
Async versions of the http methods are exposed in
|
||||
puppetlabs.http.client, and synchronous versions are in
|
||||
puppetlabs.http.sync.
|
||||
puppetlabs.http.client.async, and synchronous versions are in
|
||||
puppetlabs.http.client.sync.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
;; See the puppetlabs.http.sync namespace for synchronous versions of all
|
||||
;; these methods.
|
||||
|
||||
(ns puppetlabs.http.client
|
||||
(ns puppetlabs.http.client.async
|
||||
(:require [org.httpkit.client :as http]
|
||||
[puppetlabs.kitchensink.ssl :as ssl])
|
||||
(:refer-clojure :exclude (get)))
|
|
@ -1,8 +1,8 @@
|
|||
;; This namespace provides synchronous versions of the request functions
|
||||
;; defined in puppetlabs.http.client
|
||||
|
||||
(ns puppetlabs.http.sync
|
||||
(:require [puppetlabs.http.client :as async])
|
||||
(ns puppetlabs.http.client.sync
|
||||
(:require [puppetlabs.http.client.async :as async])
|
||||
(:refer-clojure :exclute (get)))
|
||||
|
||||
(defn request
|
|
@ -1,8 +1,8 @@
|
|||
(ns puppetlabs.http.client-test
|
||||
(ns puppetlabs.http.client.async-test
|
||||
(:require [clojure.test :refer :all]
|
||||
[clojure.java.io :refer [resource]]
|
||||
[puppetlabs.kitchensink.ssl :as ks-ssl]
|
||||
[puppetlabs.http.client :as http])
|
||||
[puppetlabs.http.client.async :as http])
|
||||
(:import [javax.net.ssl SSLEngine]))
|
||||
|
||||
(deftest ssl-config-with-files
|
Loading…
Reference in a new issue