set_proxy_uri


Description:

[ Version ( deprecated = true , deprecated_since = "0.15.0" , since = "0.2.0" ) ]
public void set_proxy_uri (URI? proxy_uri)

Warning: set_proxy_uri is deprecated since 0.15.0.

Sets the proxy URI on the Session used internally by the given Service.

Note:

Use set_proxy_resolver instead, which gives more flexibility over the proxy used.

This forces all requests through the given proxy.

If proxy_uri is null, no proxy will be used.

Note that if a Authorizer is being used with this Service, the authorizer might also need its proxy URI setting.

Parameters:

this

a Service

proxy_uri

the proxy URI, or null