vonage-java-sdk icon indicating copy to clipboard operation
vonage-java-sdk copied to clipboard

Add possibility to set a request and connection timeout

Open peterjurkovic opened this issue 8 years ago • 2 comments

Hi there would be really nice to have a possibility to set a connection and request timeouts values. Not sure whats are the default ones?

peterjurkovic avatar Dec 22 '17 13:12 peterjurkovic

This should be possible by configuring an HttpClient and passing to the NexmoClient constructor. But I'd definitely like to look into this more.

judy2k avatar Jan 11 '18 10:01 judy2k

` HttpClient client = httpClientConfig.HttpClientObject();

HttpConfig newConfig = HttpConfig.builder()
  .apiBaseUri(axwayUrl) //Set Your Base API Url here
  .restBaseUri(axwayUrl) //Set your Base Rest Url here
  .build();`

My HttpClient looks like this and .getParams is depricated. How to you propose to make this change in the HttpConfig? @judy2k

anmol5varma avatar Feb 20 '20 02:02 anmol5varma

Hi! Any updates on this?

skagedal avatar Mar 17 '23 08:03 skagedal

Available in v7.8.0 (added in #478).

SMadani avatar Sep 07 '23 14:09 SMadani