You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Edit - I had a secondary issue going on but I believe this IS the correct way to set your proxy now
The text was updated successfully, but these errors were encountered: