IronWebScraper - The C# Web Scraping Library
Response Class |
Represents a http response made by IronWebScraper

Namespace: IronWebScraper
Assembly: IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)

The Response type exposes the following members.


Name | Description | |
---|---|---|
![]() | BinaryContent |
The content downloaded from the Url as raw binary data
|
![]() | Document |
Returns an HtmlNode for the entire Response Document. (HTML/XML)
|
![]() | Html |
Synonym of content which checks for an Html content
|
![]() | MetaData |
Returns additional meta-data which was attached to the Request.
|
![]() | RequestlUrl |
The Url from which the Response was requested. This may differ from FinalUrl if these was an http redirect.
|
![]() | TextContent |
The content downloaded from the Url encoded as a String.
|
![]() | WasSuccessful |
Gets a value indicating whether this HTTP request yielded a successful response code.
|

Name | Description | |
---|---|---|
![]() | Css |
Uses CSS selectors to find all matching nodes within the Response Document.
This works in the same way as $('.ClassName') in jQuery or querySelectorAll() in JavaScript.
|
![]() | CssExists |
Uses CSS selectors to find if there are any matching nodes within the Response Document.
This works in the same way as $('.ClassName').length > 0 in jQuery or querySelectorAll().length >0 in JavaScript.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetElementById |
Synonym of JavaScript's getElementById function. Searches inside the response as an HTML or XML Document by ID attribute.
|
![]() | GetElementsByTagName |
Synonym of JavaScript's getElementById function. Searches inside the response as an HTML or XML Document by tag-name such as "a" or "img".
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | QuerySelector |
Synonym of JavaScript's querySelector function. Searches inside the Response document as an HTML or XML Document using CSS selectors.
|
![]() | QuerySelectorAll |
Synonym of JavaScript's querySelectorAll function. Searches inside the response document as an HTML or XML Document using CSS selectors.
|
![]() | ToAbsoluteUrl(IEnumerableString) |
Makes any relative url strings absolute relative to this Response Document.
|
![]() | ToAbsoluteUrl(String) |
Makes a relative url strings absolute relative to this Response Document.
|
![]() | ToString | (Inherited from Object.) |
![]() | XPath |
Searches inside the response as an HTML / XML Document using an XPath expression.
|

Name | Description | |
---|---|---|
![]() | CharSet |
Name of the charset used to encode the web resource.
When reading TextConent, the result has already been decoded to C# default encoding (utf-8) on your behalf.
|
![]() | CretaedFromWebCache |
True if the Response was created from a cached version of the Url rather than from live data.
See WebScraper.EnableWebCache() method, which is can be called from within the WebScraper.Init() method.
|
![]() | FinalUrl |
The Url from which the Response was returned. This may differ from RequestlUrl if these was an http redirect.
|
![]() | MimeType |
The MIME type of the Response content. E.g: "text/html"
|
![]() | Request |
The Request from which the Response was created.
|
![]() | StatusCode |
The http status code given by the url which as 200 or 404. 0 is returned in case the server is uncontactable.
|
