ResponseMessage

ResponseMessage class

Represents a response message.

public class ResponseMessage : IDisposable

Constructors

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

Properties

Name Description
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

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

See Also