C# Класс 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
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
UnityWebRequestWrapper System

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
UnityWebRequestWrapper ( ) : System

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Send() публичный Метод

Make the http call
public Send ( ) : AsyncOperation
Результат UnityEngine.AsyncOperation

SetRequestHeader() публичный Метод

Set the request Header
public SetRequestHeader ( string key, string value ) : void
key string the header key
value string the header value
Результат void

UnityWebRequestWrapper() публичный Метод

Create an instance of UnityWebRequestWrapper
public UnityWebRequestWrapper ( string url, string method ) : System
url string Url of the request
method string The HTTP Methods
Результат System

UnityWebRequestWrapper() публичный Метод

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
Результат System