WebScraper.Request Method (Uri, Action(Response), MetaData)

IronWebScraper

WebScraperRequest Method (Uri, ActionResponse, MetaData)

A key method called from with the Init and Parse Methods. Request adds a new request to the scrape-job queue, and decides which method (e.g. Parse) will be used to parse the Response object.

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public virtual void Request(
	Uri url,
	Action<Response> parse,
	MetaData metaData
)
Public Overridable Sub Request ( 
	url As Uri,
	parse As Action(Of Response),
	metaData As MetaData
)

Parameters

url
Type: SystemUri
The absolute url to be fetched. Developers may use Response.ToAbsoluteUrl to resolve all relative links to Absolute Url strings.
parse
Type: SystemActionResponse
The method to be used to parse the Response (often this is WebScraper.Parse)
metaData
Type: IronWebScraperMetaData
Additional information of any Type can be sent with the request and then re-read when the response is parsed .
See Also