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
[getContent]
[setContent] Gets or sets the response content.
[getCookies]
[setCookies] Gets or sets the cookie collection.
getHeaders Gets the headers.
getIsSuccess Gets a value indicating whether this message is success.
[getRequest]
[setRequest] Gets or sets the associated request.
[getStatusCode]
[setStatusCode] Gets or sets the status code.

Methods

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

See Also