Interface IApiResponse
Provides a non-generic contract for the ApiResponse wrapper.
Namespace: mailslurp.Client
Assembly: mailslurp.dll
Syntax
public interface IApiResponse
Properties
View SourceContent
The content of this response
Declaration
object Content { get; }
Property Value
Type | Description |
---|---|
object |
Cookies
Gets or sets any cookies passed along on the response.
Declaration
List<Cookie> Cookies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><Cookie> |
ErrorText
Gets or sets any error text defined by the calling client.
Declaration
string ErrorText { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Gets or sets the HTTP headers
Declaration
Multimap<string, string> Headers { get; }
Property Value
Type | Description |
---|---|
Multimap<string, string> | HTTP headers |
RawContent
The raw content of this response
Declaration
string RawContent { get; }
Property Value
Type | Description |
---|---|
string |
ResponseType
The data type of Content
Declaration
Type ResponseType { get; }
Property Value
Type | Description |
---|---|
Type |
StatusCode
Gets or sets the status code (HTTP status code)
Declaration
HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode | The status code. |