File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments