Skip to content

Commit c5584bc

Browse files
committed
Update TwilioRestClient.java
Allow retrieval of the httpClient created at Constructor. That will allow users to update the properties with additional configuration such as Proxy server setup.
1 parent 7428342 commit c5584bc

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
* Explcitly construct a TwilioRestClient with the given API credentials.

0 commit comments

Comments
 (0)