Skip to content

Conversation

@jastakhova
Copy link

Hi!

For my project it is essential to use a proxy for all http requests reaching external locations. I added a possibility to set a proxy when creating a Verify or PhoneId objects.

The code using a proxy parameter would look like

String customer_id = "CUSTOMER_ID_GOES_HERE";
String secret_key = "SECRECT_KEY_GOES_HERE";
Verify verify = new Verify(customer_id, secret_key, ProxyHostPort.buildProxy("PROXY_HOST", 8888 /* as a proxy port */));
VerifyResponse ret = verify.call("13103409700");

This pull request also includes an updated build.xml with an ant jar task.

@hmorales
Copy link
Contributor

Hello Julia,
Please merge the latest updates from origin, then we can take a look at the proxy changes.

Thanks,
H

@hmorales hmorales closed this Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants