O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

IWebProxy

Synopsis

IWebProxy defines the interface used by the WebProxy class. Parties interested in creating customized proxy handlers would implement this interface to do so, but the WebProxy implementation is sufficient for most HTTP access purposes.

To use an implementation of IWebProxy, see the GlobalProxySelection class or the WebRequest.Proxy property.

public interface IWebProxy {
// Public Instance Properties
   public field ICredentials Credentials{set; get; } 
// Public Instance Methods
   public method Uri GetProxy(Uri destination);  
   public method bool IsBypassed(Uri host);  
}

Implemented By

WebProxy

Returned By

GlobalProxySelection.{GetEmptyWebProxy(), Select}, WebRequest.Proxy

Passed To

GlobalProxySelection.Select, ServicePointManager.FindServicePoint(), WebRequest.Proxy

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required