Click or drag to resize

WebResponseFactory Class

Creates a WebResponse object based on an HttpWebResponse object.
Inheritance Hierarchy
SystemObject
  NScrapeWebResponseFactory

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
public class WebResponseFactory

The WebResponseFactory type exposes the following members.

Constructors
  NameDescription
Public methodWebResponseFactory
Initializes a new instance of the WebResponseFactory class
Top
Properties
  NameDescription
Public propertyStatic memberSupportedContentTypes
Gets a dictionary containing all content types currently supported by the WebResponseFactory.
Top
Methods
  NameDescription
Public methodStatic memberCreateBinaryResponse
Creates a BinaryWebResponse.
Public methodStatic memberCreateHtmlResponse
Creates an HtmlWebResponse.
Public methodStatic memberCreateImageResponse
Creates a ImageWebResponse.
Public methodStatic memberCreateJavaScriptResponse
Public methodStatic memberCreateJsonResponse
Creates a JsonWebResponse.
Public methodStatic memberCreatePlainTextResponse
Public methodStatic memberCreateResponse
Creates a WebResponse for an HttpWebResponse, based on its content type.
Public methodStatic memberCreateTextResponse Obsolete.
Public methodStatic memberCreateXmlResponse
Creates an XmlWebResponse.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetEncoding Obsolete.
Gets the encoding used by an HttpWebResponse.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberReadResponseText(HttpWebResponse) Obsolete.
Reads an HttpWebResponse as plain text.
Public methodStatic memberReadResponseText(HttpWebResponse, Encoding) Obsolete.
Reads an HttpWebResponse as plain text.
Public methodToString (Inherited from Object.)
Top
See Also