Skip to content

Commit e3acd44

Browse files
authored
add documentation on proxy credentials (#622)
1 parent 63a5341 commit e3acd44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.org

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,12 @@ Additionally, per-request proxies can be specified with the =proxy-host= and
13041304
(client/get "http://example.com" {:proxy-host "127.0.0.1" :proxy-port 8118})
13051305
#+END_SRC
13061306

1307+
Proxy credentials can also be explicitly set as
1308+
1309+
#+BEGIN_SRC clojure
1310+
(client/get "http://example.com" {:proxy-host "127.0.0.1" :proxy-port 8118 :proxy-user "proxy-user" :proxy-pass "superSecurePassword"})
1311+
#+END_SRC
1312+
13071313
You can also specify the =proxy-ignore-hosts= parameter with a list of
13081314
hosts where the proxy should be ignored. By default this list is
13091315
=#{"localhost" "127.0.0.1"}=.

0 commit comments

Comments
 (0)