TransferStats

data class TransferStats(val url: URL, val bytes: Long, val durationMs: Long, val speedMbps: Double)

Represents the statistics of a transfer operation.

Constructors

Link copied to clipboard
constructor(url: URL, bytes: Long, durationMs: Long, speedMbps: Double)

Properties

Link copied to clipboard
val bytes: Long

The total number of bytes transferred.

Link copied to clipboard

The duration of the transfer in milliseconds.

Link copied to clipboard

The average speed of the transfer in megabits per second.

Link copied to clipboard
val url: URL

The URL of the resource being transferred.