Class UnityWebRequestLoader
Content loader that uses UnityWebRequests to fech data from the Web
Inheritance
object
UnityWebRequestLoader
Implements
IContentLoader<string>
Namespace: i5.Toolkit.Core.Utilities.ContentLoaders
Assembly: cs.temp.dll.dll
Syntax
public class UnityWebRequestLoader : IContentLoader<string>
Methods
LoadAsync(string)
Loads content from the given URI
Declaration
public Task<WebResponse<string>> LoadAsync(string uri)
Parameters
Type | Name | Description |
---|---|---|
string | uri | The URI from where content should be downloaded |
Returns
Type | Description |
---|---|
Task<><WebResponse<string>> | Returns the downloaded string content |