Table of Contents

Class Request

Namespace
AngleSharp.Io
Assembly
AngleSharp.dll

The default HTTP request encapsulation type.

public sealed class Request
Inheritance
Request
Inherited Members
Extension Methods

Constructors

Request()

Creates a new default requests.

public Request()

Properties

Address

Gets or sets the address should be requested.

public Url Address { get; set; }

Property Value

Url

Content

Gets or sets a stream to the content (positioned at the origin).

public Stream Content { get; set; }

Property Value

Stream

Headers

Gets or sets a list of headers (key-values) that should be used.

public IDictionary<string, string> Headers { get; set; }

Property Value

IDictionary<string, string>

Method

Gets or sets the method that should be used.

public HttpMethod Method { get; set; }

Property Value

HttpMethod