Interface IHttpResponse
HTTP response interface
Namespace: Pixiv.VroidSdk.Networking
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IHttpResponse
Properties
Data
Response byte array
Declaration
byte[] Data { get; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
IsHttpError
Becomes true when HTTP error occurs
Declaration
bool IsHttpError { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsNetworkError
Becomes true when network error occurs
Declaration
bool IsNetworkError { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
RawErrorMessage
Error message
Declaration
string RawErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| String |
ResponseHeaders
Response header
Declaration
Dictionary<string, string> ResponseHeaders { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<String, String> |
StatusCode
HTTP status code
Declaration
int StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Text
Response text
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| String |