C# Class UnityEngine.Experimental.Networking.UnityWebRequest

Inheritance: IDisposable
Exibir arquivo Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
Delete ( string uri ) : UnityWebRequest
Dispose ( ) : void
GenerateBoundary ( ) : byte[]
Get ( string uri ) : UnityWebRequest
GetAssetBundle ( string uri ) : UnityWebRequest
GetAssetBundle ( string uri, Hash128 hash, uint crc ) : UnityWebRequest
GetAssetBundle ( string uri, uint crc ) : UnityWebRequest
GetAssetBundle ( string uri, uint version, uint crc ) : UnityWebRequest
GetResponseHeaders ( ) : string>.Dictionary
GetTexture ( string uri ) : UnityWebRequest
GetTexture ( string uri, bool nonReadable ) : UnityWebRequest
Head ( string uri ) : UnityWebRequest
Post ( string uri, string>.Dictionary formFields ) : UnityWebRequest
Post ( string uri, List multipartFormSections ) : UnityWebRequest
Post ( string uri, List multipartFormSections, byte boundary ) : UnityWebRequest
Post ( string uri, WWWForm formData ) : UnityWebRequest
Post ( string uri, string postData ) : UnityWebRequest
Put ( string uri, byte bodyData ) : UnityWebRequest
Put ( string uri, string bodyData ) : UnityWebRequest
Send ( ) : AsyncOperation
SerializeFormSections ( List multipartFormSections, byte boundary ) : byte[]
SerializeSimpleForm ( string>.Dictionary formFields ) : byte[]
SetRequestHeader ( string name, string value ) : void
UnityWebRequest ( ) : System
UnityWebRequest ( string url ) : System
UnityWebRequest ( string url, string method ) : System
UnityWebRequest ( string url, string method, DownloadHandler downloadHandler, UploadHandler uploadHandler ) : System

Private Methods

Method Description
ContainsForbiddenCharacters ( string s, int firstAllowedCharCode ) : bool
GetErrorDescription ( UnityWebRequestError errorCode ) : string
GetRequestHeader ( string name ) : string
GetResponseHeader ( string name ) : string
InternalAbort ( ) : void
InternalBegin ( ) : AsyncOperation
InternalCreate ( ) : void
InternalDestroy ( ) : void
InternalGetCustomMethod ( ) : string
InternalGetError ( ) : int
InternalGetMethod ( ) : int
InternalGetResponseHeaderKeys ( ) : string[]
InternalGetUrl ( ) : string
InternalSetCustomMethod ( string customMethodName ) : void
InternalSetDefaults ( ) : void
InternalSetMethod ( UnityWebRequestMethod methodType ) : void
InternalSetRequestHeader ( string name, string value ) : void
InternalSetUrl ( string url ) : void
IsHeaderNameLegal ( string headerName ) : bool
IsHeaderValueLegal ( string headerValue ) : bool

Method Details

Abort() public method

public Abort ( ) : void
return void

Delete() public static method

public static Delete ( string uri ) : UnityWebRequest
uri string
return UnityWebRequest

Dispose() public method

public Dispose ( ) : void
return void

GenerateBoundary() public static method

public static GenerateBoundary ( ) : byte[]
return byte[]

Get() public static method

public static Get ( string uri ) : UnityWebRequest
uri string
return UnityWebRequest

GetAssetBundle() public static method

public static GetAssetBundle ( string uri ) : UnityWebRequest
uri string
return UnityWebRequest

GetAssetBundle() public static method

public static GetAssetBundle ( string uri, Hash128 hash, uint crc ) : UnityWebRequest
uri string
hash UnityEngine.Hash128
crc uint
return UnityWebRequest

GetAssetBundle() public static method

public static GetAssetBundle ( string uri, uint crc ) : UnityWebRequest
uri string
crc uint
return UnityWebRequest

GetAssetBundle() public static method

public static GetAssetBundle ( string uri, uint version, uint crc ) : UnityWebRequest
uri string
version uint
crc uint
return UnityWebRequest

GetResponseHeaders() public method

public GetResponseHeaders ( ) : string>.Dictionary
return string>.Dictionary

GetTexture() public static method

public static GetTexture ( string uri ) : UnityWebRequest
uri string
return UnityWebRequest

GetTexture() public static method

public static GetTexture ( string uri, bool nonReadable ) : UnityWebRequest
uri string
nonReadable bool
return UnityWebRequest

Head() public static method

public static Head ( string uri ) : UnityWebRequest
uri string
return UnityWebRequest

Post() public static method

public static Post ( string uri, string>.Dictionary formFields ) : UnityWebRequest
uri string
formFields string>.Dictionary
return UnityWebRequest

Post() public static method

public static Post ( string uri, List multipartFormSections ) : UnityWebRequest
uri string
multipartFormSections List
return UnityWebRequest

Post() public static method

public static Post ( string uri, List multipartFormSections, byte boundary ) : UnityWebRequest
uri string
multipartFormSections List
boundary byte
return UnityWebRequest

Post() public static method

public static Post ( string uri, WWWForm formData ) : UnityWebRequest
uri string
formData WWWForm
return UnityWebRequest

Post() public static method

public static Post ( string uri, string postData ) : UnityWebRequest
uri string
postData string
return UnityWebRequest

Put() public static method

public static Put ( string uri, byte bodyData ) : UnityWebRequest
uri string
bodyData byte
return UnityWebRequest

Put() public static method

public static Put ( string uri, string bodyData ) : UnityWebRequest
uri string
bodyData string
return UnityWebRequest

Send() public method

public Send ( ) : AsyncOperation
return AsyncOperation

SerializeFormSections() public static method

public static SerializeFormSections ( List multipartFormSections, byte boundary ) : byte[]
multipartFormSections List
boundary byte
return byte[]

SerializeSimpleForm() public static method

public static SerializeSimpleForm ( string>.Dictionary formFields ) : byte[]
formFields string>.Dictionary
return byte[]

SetRequestHeader() public method

public SetRequestHeader ( string name, string value ) : void
name string
value string
return void

UnityWebRequest() public method

public UnityWebRequest ( ) : System
return System

UnityWebRequest() public method

public UnityWebRequest ( string url ) : System
url string
return System

UnityWebRequest() public method

public UnityWebRequest ( string url, string method ) : System
url string
method string
return System

UnityWebRequest() public method

public UnityWebRequest ( string url, string method, DownloadHandler downloadHandler, UploadHandler uploadHandler ) : System
url string
method string
downloadHandler DownloadHandler
uploadHandler UploadHandler
return System