Show / Hide Table of Contents

Class WebResponse

レスポンスの情報を扱うクラス

Inheritance
Object
WebResponse
Implements
IWebResponse
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: VRoidSDK.Networking
Assembly: VRoidSDK.dll
Syntax
public class WebResponse : IWebResponse

Constructors

WebResponse(UnityWebRequest)

コンストラクタ

Declaration
public WebResponse(UnityWebRequest request)
Parameters
Type Name Description
UnityWebRequest request

UnityWebRequestのオブジェクト

Properties

Data

レスポンスボディをバイト配列として返す

Declaration
public byte[] Data { get; }
Property Value
Type Description
Byte[]

IsDone

HTTPリクエストがすでに完了しているかを判定

Declaration
public bool IsDone { get; }
Property Value
Type Description
Boolean

IsHttpError

エラーを示すHTTPステータスコードかどうか

Declaration
public bool IsHttpError { get; }
Property Value
Type Description
Boolean

IsNetworkError

ネットワークエラーかどうか

Declaration
public bool IsNetworkError { get; }
Property Value
Type Description
Boolean

Method

HTTPリクエストメソッド

Declaration
public string Method { get; }
Property Value
Type Description
String

RawErrorMessage

エラーメッセージ

Declaration
public string RawErrorMessage { get; }
Property Value
Type Description
String

ResponseHeaders

HTTPレスポンスヘッダ

Declaration
public Dictionary<string, string> ResponseHeaders { get; }
Property Value
Type Description
Dictionary<String, String>

StatusCode

HTTPレスポンスステータスコード

Declaration
public long StatusCode { get; }
Property Value
Type Description
Int64

Text

レスポンスボディをUTF8の文字列として返す

Declaration
public string Text { get; }
Property Value
Type Description
String

Uri

リクエストURI

Declaration
public Uri Uri { get; }
Property Value
Type Description
Uri

Implements

IWebResponse
Back to top Generated by DocFX