Class BaseResponse

BaseResponse class

Base class for API responses.

public abstract class BaseResponse

Properties

NameDescription
Detail { get; set; }Gets or sets the response detail.
Error { get; set; }Gets or sets the HTTP response error.
ErrorMessage { get; }Gets or sets the error information.
HttpResponseHeaders { get; set; }Gets or sets the HTTP response headers.
HttpStatusCode { get; set; }Gets or sets the HTTP status code.
IsSuccessful { get; }Indicates if the response was successful.
ReasonPhrase { get; }Gets the error reason phrase.

See Also