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

Add proxy support in sdk

Open goldnorb opened this issue 3 years ago • 0 comments

Request: For our application, we need to call external applications like Voucherify via proxy.

Description: VoucherifyClient might be extended to optionally support a proxy server in OkHttpClient.

Example Code for OkHttpClient and Proxy: OkHttpClient client = new OkHttpClient.Builder() .proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort))) .proxyAuthenticator(proxyAuthenticator) .build();

Please inform me, if this would be possible and approximately how long it will take. Thank you very much in advance.

goldnorb avatar Feb 14 '22 17:02 goldnorb