Skip to content

Commit 331eb46

Browse files
lambda-knightptaoussanis
authored andcommitted
[#68] Support proxy username & password (@tokomakoma123)
1 parent 597dae4 commit 331eb46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/taoensso/faraday.clj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
etc."
9494
(memoize
9595
(fn [{:keys [provider creds access-key secret-key endpoint proxy-host proxy-port
96+
proxy-username proxy-password
9697
conn-timeout max-conns max-error-retry socket-timeout]
9798
:as client-opts}]
9899
(if (empty? client-opts) (AmazonDynamoDBClient.) ; Default client
@@ -110,6 +111,8 @@
110111
(doto-cond [g (ClientConfiguration.)]
111112
proxy-host (.setProxyHost g)
112113
proxy-port (.setProxyPort g)
114+
proxy-username (.setProxyUsername g)
115+
proxy-password (.setProxyPassword g)
113116
conn-timeout (.setConnectionTimeout g)
114117
max-conns (.setMaxConnections g)
115118
max-error-retry (.setMaxErrorRetry g)

0 commit comments

Comments
 (0)