ResponseMessage Class

ResponseMessage class

Represents a response message.

public class ResponseMessage : IDisposable

Constructors

NameDescription
ResponseMessage(HttpStatusCode)Initializes a new instance of the ResponseMessage class.

Properties

NameDescription
Content { get; set; }Gets or sets the response content.
Cookies { get; set; }Gets or sets the cookie collection.
Headers { get; }Gets the headers.
IsSuccess { get; }Gets a value indicating whether this message is success.
Request { get; set; }Gets or sets the associated request.
StatusCode { get; set; }Gets or sets the status code.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

See Also