Skip to content

Commit 35411f4

Browse files
committed
Merge pull request #89 from gbvb/patch-1
Allow user to get the current HttpClient for modifications such as utilizing proxies
2 parents 8870b4d + c5584bc commit 35411f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/twilio/sdk/TwilioRestClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ public void setNumRetries(int numRetries) {
9595
public void setHttpclient(HttpClient httpclient) {
9696
this.httpclient = httpclient;
9797
}
98+
99+
public HttpClient getHttpClient() {
100+
return httpclient;
101+
}
98102

99103
/**
100104
* Explicitly construct a TwilioRestClient with the given API credentials.

0 commit comments

Comments
 (0)