Class CustomHeaderDownload
Download that allows modifying the HTTP request before it's sent
Inherited Members
Namespace: GLTFast.Loading
Assembly: solution.dll
Syntax
public class CustomHeaderDownload : AwaitableDownload, IDownload, IDisposable
Constructors
CustomHeaderDownload(Uri, Action<UnityWebRequest>)
Constructs an IDownload with a modifier
Declaration
public CustomHeaderDownload(Uri url, Action<UnityWebRequest> editor)
Parameters
Type | Name | Description |
---|---|---|
Uri | url | URI to request |
Action<UnityWebRequest> | editor | Callback that modifies the UnityWebRequest before it's sent |