icyleaf / halite

💎HTTP Requests Client with a chainable REST API, built-in sessions and middlewares.
MIT License
170 stars 13 forks source link

Proxy for Web Connection #48

Closed prutheus closed 5 years ago

prutheus commented 5 years ago

Hello. Coming from Mechanize@Ruby, I want to use Halite@Crystal now.

However, I can't find the possibility to specify a web proxy at Halite::Client for my requests ... Can this be implemented?

icyleaf commented 5 years ago

Halite was built on HTTP::Client in Crystal, and current HTTP::Client does not support the ability to use a web proxy, See crystal-lang/crystal#6011 that it was issued for a long long time ago.

BTW, how do you use a web proxy for?

icyleaf commented 5 years ago

Sorry, close it with no response for long time, reopen or create new issue anytime please.