Applications create WebRequest instances through the WebRequestFactory class. This is a static class that exists to create a descendent WebRequest instances based on the URI scheme passed to its Create method.
The NGWS frameworks provides an HttpWebRequest class that descends from the WebRequest class to handle HTTP protocol requests to the Internet. You can typecast WebRequest objects created by the WebRequestFactory to HttpWebRequest to access the HTTP protocol-specific properties of the request.
For other Internet protocols, such as FTP, you will need to derive a descendent of WebRequest to handle requests made to URIs with that scheme. See Deriving from WebRequest for more information
The HttpWebResponse class is also provided by the NGWS frameworks to handle the responses from HTTP protocol requests to the Internet. Typecast WebResponse to HttpWebResponse to access the HTTP-specific properties of the HttpWebResponse class.
You will also need to derive a descendent of WebResponse to handle requests for other Internet protocols, such as FTP. See Deriving from WebRequest for more information.