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