C# Class Amazon.Runtime.Internal.UnityWebRequestWrapper

This class is used to wrap around UnityEngine.Experimental.Networking.UnityWebRequest so that we can be backward compatible with unity 4.6
Inheritance: IDisposable
Exibir arquivo Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
UnityWebRequestWrapper System

Public Methods

Method Description
Dispose ( ) : void
Send ( ) : AsyncOperation

Make the http call

SetRequestHeader ( string key, string value ) : void

Set the request Header

UnityWebRequestWrapper ( string url, string method ) : System

Create an instance of UnityWebRequestWrapper

UnityWebRequestWrapper ( string url, string method, DownloadHandlerBufferWrapper downloadHandler, UploadHandlerRawWrapper uploadHandler ) : System

Create an instance of UnityWebRequestWrapper

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
UnityWebRequestWrapper ( ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Send() public method

Make the http call
public Send ( ) : AsyncOperation
return UnityEngine.AsyncOperation

SetRequestHeader() public method

Set the request Header
public SetRequestHeader ( string key, string value ) : void
key string the header key
value string the header value
return void

UnityWebRequestWrapper() public method

Create an instance of UnityWebRequestWrapper
public UnityWebRequestWrapper ( string url, string method ) : System
url string Url of the request
method string The HTTP Methods
return System

UnityWebRequestWrapper() public method

Create an instance of UnityWebRequestWrapper
public UnityWebRequestWrapper ( string url, string method, DownloadHandlerBufferWrapper downloadHandler, UploadHandlerRawWrapper uploadHandler ) : System
url string Url of the request
method string The HTTP Methods
downloadHandler DownloadHandlerBufferWrapper Instance of
uploadHandler UploadHandlerRawWrapper Instance of
return System