Skip to content

Add Proxy support - #21

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

jnankin merged 3 commits into
phaxio:masterfrom
efeat:master

Conversation

@efeat

@efeat efeat commented Apr 30, 2018

Copy link
Copy Markdown

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
Copy Markdown
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

jnankin commented Apr 30, 2018

Copy link
Copy Markdown
Contributor

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