Skip to content

Commit 25193b1

Browse files
authored
#530 fixing build-http-client calls in README (#531)
1 parent 39935e5 commit 25193b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.org

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ manager must be used.
12651265

12661266
;; You can also build your own, using clj-http's helper or manually building it:
12671267
(let [cm (conn/make-reusable-conn-manager {})
1268-
hclient (core/build-http-client {} cm "https://example.com" false)]
1268+
hclient (core/build-http-client {} false cm)]
12691269
(client/get "http://example.com/1"
12701270
{:connection-manager cm :http-client hclient})
12711271
(client/get "http://example.com/2"
@@ -1275,7 +1275,7 @@ manager must be used.
12751275

12761276
;; Async http clients may also be created and re-used:
12771277
(let [acm (conn/make-reuseable-async-conn-manager {})
1278-
ahclient (core/build-async-http-client {} acm "https://example.com" false)]
1278+
ahclient (core/build-async-http-client {} acm)]
12791279
(client/get "http://example.com/1"
12801280
{:connection-manager cm :http-client ahclient}
12811281
handle-response handle-failure)

0 commit comments

Comments
 (0)