Class UnityWebRequestLoader
Content loader that uses UnityWebRequests to fech data from the Web
Implements
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 async 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 |