Interface IWebResponse
レスポンスの情報を扱うインターフェース
Namespace: VRoidSDK.Networking
Assembly: VRoidSDK.dll
Syntax
public interface IWebResponse
Properties
Data
レスポンスボディをバイト配列として返す
Declaration
byte[] Data { get; }
Property Value
Type | Description |
---|---|
Byte[] |
IsDone
HTTPリクエストがすでに完了しているかを判定
Declaration
bool IsDone { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsHttpError
エラーを示すHTTPステータスコードかどうか
Declaration
bool IsHttpError { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsNetworkError
ネットワークエラーかどうか
Declaration
bool IsNetworkError { get; }
Property Value
Type | Description |
---|---|
Boolean |
Method
HTTPリクエストメソッド
Declaration
string Method { get; }
Property Value
Type | Description |
---|---|
String |
RawErrorMessage
エラーメッセージ
Declaration
string RawErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
ResponseHeaders
HTTPレスポンスヘッダ
Declaration
Dictionary<string, string> ResponseHeaders { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, String> |
StatusCode
HTTPレスポンスステータスコード
Declaration
long StatusCode { get; }
Property Value
Type | Description |
---|---|
Int64 |
Text
レスポンスボディをUTF8の文字列として返す
Declaration
string Text { get; }
Property Value
Type | Description |
---|---|
String |
Uri
リクエストURI
Declaration
Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri |