Request
The default HTTP request encapsulation type.
using System;
using System.Collections.Generic;
using System.IO;
namespace AngleSharp.Network.Default
{
public sealed class Request : IRequest
{
public HttpMethod Method { get; set; }
public Url Address { get; set; }
public IDictionary<string, string> Headers { get; set; }
public Stream Content { get; set; }
public Request()
{
Headers = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
}