Class DefaultResponse
- Namespace
- AngleSharp.Io
- Assembly
- AngleSharp.dll
The default HTTP response encapsulation object.
public sealed class DefaultResponse : IResponse, IDisposable
- Inheritance
-
DefaultResponse
- Implements
- Inherited Members
- Extension Methods
Constructors
DefaultResponse()
Creates a new default response object.
public DefaultResponse()
Properties
Address
Gets or sets the url of the response.
public Url Address { get; set; }
Property Value
Content
Gets or sets a stream for content of the response.
public Stream Content { get; set; }
Property Value
Headers
Gets or sets the headers (key-value pairs) of the response.
public IDictionary<string, string> Headers { get; set; }
Property Value
StatusCode
Gets or sets the status code of the response.
public HttpStatusCode StatusCode { get; set; }