Name
IWebRequestCreate
Synopsis
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()
shared
method.
Public Interface IWebRequestCreate ' Public Instance Methods Public Function Create( ByVal uri As Uri) As WebRequest End Interface
Passed To
WebRequest.RegisterPrefix()
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.