Skip to content

Conversation

unavailabl3
Copy link

@unavailabl3 unavailabl3 commented Nov 7, 2019

This update is to add proxy authorization featrue to http client initialization. After it only need to add three environments:

HTTP_PROXY=http://1.2.3.4:5678
HTTP_PROXY_USER=username_for_proxy
HTTP_PROXY_PASSWORD=password_for_proxy

It made with the help of HTTPClient documentation httpclient#set_proxy_auth

@printercu
Copy link
Member

Hi, and thank you for the contribution!

Is it possible to pass credentials like HTTP_PROXY=http://username_for_proxy:[email protected]:5678?

@unavailabl3
Copy link
Author

unavailabl3 commented Nov 7, 2019

Yes, it is possible
I think you can write about it in gem docs. It is very useful for countries where Telegram blocked

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