Skip to content

Add Proxy Support#14

Closed
nickpurdy wants to merge 3 commits intocloudinary:masterfrom
nickpurdy:master
Closed

Add Proxy Support#14
nickpurdy wants to merge 3 commits intocloudinary:masterfrom
nickpurdy:master

Conversation

@nickpurdy
Copy link
Copy Markdown

Because of the use of various HTTP proxies in commercial environments we needed a way to supply these proxy details to the connection.

The changes mean by constructing the Cloudinary class with a configuration Map you can supply 2 extra attributes:
proxy_host - A String of the IP address or hostname of the proxy
proxy_port - An integer of the port number of the proxy

After construction of the HttpClient the change checks to see if a proxy_host and proxy_port were supplied with the Cloudinary configuration. If they were it applies them as a proxy to the HttpClient.
@nitzanj
Copy link
Copy Markdown
Contributor

nitzanj commented Nov 22, 2017

@nickpurdy - Following your PR, Proxy support was indeed added to the library, thank you for your contribution.

@nitzanj nitzanj closed this Nov 22, 2017
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