Fuel: Set the proxy for each requests

Created on 6 Jul 2019  路  2Comments  路  Source: kittinunf/fuel

Feature Request

Description

I work a lot with proxies and multiple threads. Currently, the only to use proxies is to set the proxy using FuelManager.instance.proxy but this is not for multiple proxies and multiple threads.

Proposed Solution

The best way is to set the proxy for each requests.

Alternatives I've considered

Like this: "https://google.com".sendGet().setProxy("AProxy")`

question

Most helpful comment

Yes exactly

All 2 comments

new FuelManager()
  .also { |it| it.proxy = ... }
  .get("https://google.com")
  .responseXXX

Something like this?

Yes exactly

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jsyeo picture jsyeo  路  5Comments

IvanKulikov picture IvanKulikov  路  5Comments

Querschlag picture Querschlag  路  5Comments

fyi2 picture fyi2  路  3Comments

lfmingo picture lfmingo  路  4Comments