Struct HttpProgress
Contains status information on the progress of an IHttpClient operation.
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
public struct HttpProgress
Constructors
HttpProgress(Nullable<Single>, Nullable<Single>)
Initializes and returns an instance of HttpProgress.
Declaration
public HttpProgress(float? downloadProgress, float? uploadProgress)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Single> | downloadProgress | The progress of downloading body data from the server. |
Nullable<Single> | uploadProgress | The progress of uploading body data to the server. |
Properties
DownloadProgress
Floating-point value between 0.0 and 1.0 indicating the progress of downloading body data from the server.
Declaration
public float? DownloadProgress { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
UploadProgress
Floating-point value between 0.0 and 1.0 indicating the progress of uploading body data to the server.
Declaration
public float? UploadProgress { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |