-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In Advanced.MD it is suggested that you set a proxy server using:
this.httpClient.Proxy = new WebProxy(host, port);
However RestClient no longer supports this and sets the proxy via options.
I have tried to set the proxy this way but it does not seem to work
var proxy = new WebProxy()
{
Address = new Uri(host),
BypassProxyOnLocal = true,
};
var options = new RestClientOptions("https://api.smartsheet.com/2.0")
{
Proxy = proxy
};
this.httpClient = new RestClient(options);
Edit - I had a secondary issue going on but I believe this IS the correct way to set your proxy now
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels