Table of Contents

Interface IWebProxy

Namespace
System.Net
Assembly
System.Net.Http.dll

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 Uri

The 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 Uri

The 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.