Search Results for

    Show / Hide Table of Contents

    Class Request

    Represents a http request to be made by IronWebScraper

    Inheritance
    System.Object
    Request
    Namespace: IronWebScraper
    Assembly: IronWebScraper.dll
    Syntax
    public class Request : Object

    Constructors

    Request()

    Declaration
    public Request()

    Fields

    Action

    The Action<Response> which will be used to parse the response. See IronWebScraper.Parse.

    Declaration
    public Action<Response> Action
    Field Value
    Type Description
    System.Action<Response>

    Identity

    An HttpIdentity comprising Proxy, Headers, UserAgnet etc.. which will be used to fetch the Request.

    Declaration
    public HttpIdentity Identity
    Field Value
    Type Description
    HttpIdentity

    MetaData

    Allows additional meta-data of any Type to be attached to a request, and retrieved when the subsequent Response is parsed.

    Declaration
    public MetaData MetaData
    Field Value
    Type Description
    MetaData

    Properties

    Method

    Http Request method.

    Declaration
    public string Method { get; }
    Property Value
    Type Description
    System.String

    "GET" or "POST"

    Retries

    Number of attempts which have been made to fetch content from this Request so far.

    Declaration
    public int Retries { get; }
    Property Value
    Type Description
    System.Int32

    Url

    Absolute URL to be scraped.

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Hash(Request)

    Hashing function for uniquely identifying web requests.

    Declaration
    public static string Hash(Request request)
    Parameters
    Type Name Description
    Request request

    A Request object

    Returns
    Type Description
    System.String
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronWebscraper to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWebscraper free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.