Struct AlgoApiRequest.SentWithProgress<TProgress>
A wrapper around the handling the sent request.
Assembly: cs.temp.dll.dll
Syntax
public struct SentWithProgress<TProgress>
where TProgress : IProgress<float>
Type Parameters
Name |
Description |
TProgress |
|
Constructors
SentWithProgress(UnityWebRequestAsyncOperation, TProgress, CancellationToken)
Declaration
public SentWithProgress(UnityWebRequestAsyncOperation asyncOperation, TProgress progress, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
UnityWebRequestAsyncOperation |
asyncOperation |
|
TProgress |
progress |
|
CancellationToken |
cancellationToken |
|
Properties
AsyncOperation
Declaration
public UnityWebRequestAsyncOperation AsyncOperation { get; }
Property Value
Type |
Description |
UnityWebRequestAsyncOperation |
|
Methods
CastResponse<TResponse>()
Declaration
public AlgoApiRequest.SentWithProgress<TResponse, TProgress> CastResponse<TResponse>()
Returns
Type Parameters
Name |
Description |
TResponse |
|
GetAwaiter()
Declaration
public AlgoApiRequest.Awaiter GetAwaiter()
Returns
ToUniTask()
Declaration
public UniTask<AlgoApiResponse> ToUniTask()
Returns
WithCancellation(CancellationToken)
Declaration
public AlgoApiRequest.SentWithProgress<TProgress> WithCancellation(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns