Table of Contents

Class WebRequest

Namespace
TAssetBundle
Assembly
TAssetBundle.dll
public class WebRequest
Inheritance
WebRequest
Inherited Members

Constructors

WebRequest(Option)

public WebRequest(WebRequest.Option option)

Parameters

option WebRequest.Option

Properties

EnableDebuggingLog

public bool EnableDebuggingLog { get; }

Property Value

bool

Methods

GetAssetBundleAsync(InnerOperations, string, Hash128, Action<UnityWebRequest>)

public WebRequestAsync GetAssetBundleAsync(InnerOperations innerOperations, string url, Hash128 hash, Action<UnityWebRequest> onProgress = null)

Parameters

innerOperations InnerOperations
url string
hash Hash128
onProgress Action<UnityWebRequest>

Returns

WebRequestAsync

GetAsync(InnerOperations, string, Action<UnityWebRequest>, bool)

public WebRequestAsync GetAsync(InnerOperations innerOperations, string url, Action<UnityWebRequest> onProgress = null, bool useRetry = true)

Parameters

innerOperations InnerOperations
url string
onProgress Action<UnityWebRequest>
useRetry bool

Returns

WebRequestAsync

Events

OnBeforeSend

public event WebRequestCallback OnBeforeSend

Event Type

WebRequestCallback

OnComplete

public event WebRequestCallback OnComplete

Event Type

WebRequestCallback

OnError

public event WebRequestCallback OnError

Event Type

WebRequestCallback