AxiosProgressEvent Class
Progress of a request body upload or of a response download.
public sealed class AxiosProgressEvent
Inheritance System.Object → AxiosProgressEvent
Properties
AxiosProgressEvent.Bytes Property
Bytes transferred since the previous event.
public long Bytes { get; init; }
Property Value
AxiosProgressEvent.Download Property
True for a download event.
public bool Download { get; }
Property Value
AxiosProgressEvent.Estimated Property
Estimated time remaining, when the rate and the total are known.
public System.Nullable<System.TimeSpan> Estimated { get; init; }
Property Value
System.Nullable<System.TimeSpan>
AxiosProgressEvent.Loaded Property
Bytes transferred so far.
public long Loaded { get; init; }
Property Value
AxiosProgressEvent.Progress Property
Fraction between 0 and 1, when the total is known.
public System.Nullable<double> Progress { get; init; }
Property Value
System.Nullable<System.Double>
AxiosProgressEvent.Rate Property
Bytes per second since the previous event.
public System.Nullable<double> Rate { get; init; }
Property Value
System.Nullable<System.Double>
AxiosProgressEvent.Total Property
Total number of bytes, when known.
public System.Nullable<long> Total { get; init; }
Property Value
AxiosProgressEvent.Upload Property
True for an upload event.
public bool Upload { get; init; }