HttpClient.httpProxy

Proxies to use for requests. The HttpClient constructor will set these to the system values, then you can reset it to null if you want to override and not use the proxy after all, or you can set it after construction to whatever.

The proxy from the client will be automatically set to the requests performed through it. You can also override on a per-request basis by creating the request and setting the proxy field there before sending it.

class HttpClient
string httpProxy;

Meta

History

Added April 12, 2021 (included in dub v9.5)

Suggestion Box / Bug Report