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
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Свойство Type Description
UnityWebRequestWrapper System

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
UnityWebRequestWrapper ( ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

Make the http call
public Send ( ) : AsyncOperation
Résultat UnityEngine.AsyncOperation

SetRequestHeader() public méthode

Set the request Header
public SetRequestHeader ( string key, string value ) : void
key string the header key
value string the header value
Résultat void

UnityWebRequestWrapper() public méthode

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

UnityWebRequestWrapper() public méthode

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
Résultat System