Click or drag to resize

WebResponseFactoryCreateResponse Method

Creates a WebResponse for an HttpWebResponse, based on its content type.

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
public static WebResponse CreateResponse(
	HttpWebResponse webResponse
)

Parameters

webResponse
Type: System.NetHttpWebResponse
The HttpWebResponse to parse.

Return Value

Type: WebResponse
If the content type is registered with the WebResponseFactory, the corresponding WebResponse object; otherwise, an UnsupportedWebResponse object.
See Also