IWebRequestCreate

IWebRequestCreate CF 1.0, ECMA 1.0

System.Net (system.dll) interface

This interface is for objects that create protocol-specific instances of WebRequest . For example, the private class HttpRequestCreator is the underlying class that implements this interface. WebRequest uses that class under the hood to create instances of HttpWebRequest when an application connects to an http or https URI.

If you create your own protocol-specific implementation of this interface, you can register it with the WebRequest.RegisterPrefix( ) static method.

 public interface  IWebRequestCreate  {  // Public Instance Methods  public WebRequest  Create  (Uri   uri   ); } 

Passed To

WebRequest.RegisterPrefix( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net