Interface IWebProxy
Provides the base interface for implementing proxy access for the WebRequest class.
public interface IWebProxy
- Extension Methods
Methods
GetProxy(Uri)
Returns the URI of a proxy.
Uri GetProxy(Uri destination)
Parameters
destination
UriThe destination URI.
Returns
- Uri
A Uri instance that contains the URI of the proxy used to contact
destination
.
IsBypassed(Uri)
Indicates whether the proxy should not be used for the specified host.
bool IsBypassed(Uri host)
Parameters
host
UriThe host to check, to determine whether the proxy is needed to access it.
Returns
- bool
Whether the proxy should not be used for the specified host.