Skip to content

Add Proxy support#21

Merged
jnankin merged 3 commits intophaxio:masterfrom
efeat:master
Apr 30, 2018
Merged

Add Proxy support#21
jnankin merged 3 commits intophaxio:masterfrom
efeat:master

Conversation

@efeat
Copy link

@efeat efeat commented Apr 30, 2018

Add proxy support implementation because system properties such :

System.setProperty("http.proxyHost", "my-proxy-host");
System.setProperty("http.proxyPort", "my-proxy-port");

doesn't work.
What's more java.net.Proxy usage is much better.

this.proxy = proxy;
}

// public RestClient(String endpoint) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is not going to be used anymore, it should be removed

@jnankin jnankin merged commit 922a636 into phaxio:master Apr 30, 2018
@jnankin
Copy link
Contributor

jnankin commented Apr 30, 2018

Thanks Erwann!

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