Skip to content

TorrentGenericProperties

adborbas edited this page Jun 5, 2022 · 1 revision

TorrentGenericProperties

Torrent generic properties.

public struct TorrentGenericProperties: Decodable 

Inheritance

Decodable

Properties

savePath

Torrent save path.

public let savePath: String

totalSize

Torrent total size (bytes).

public let totalSize: Int64

totalDownloaded

Total data downloaded for torrent (bytes).

public let totalDownloaded: Int64

totalUploaded

Total data uploaded for torrent (bytes).

public let totalUploaded: Int64

downloadSpeed

Torrent download speed (bytes/second).

public let downloadSpeed: Int64

downloadSpeedLimit

Torrent download limit (bytes/s).

public let downloadSpeedLimit: Int64

downloadSpeedAvg

Torrent average download speed (bytes/second).

public let downloadSpeedAvg: Int64

uploadSpeed

Torrent upload speed (bytes/second).

public let uploadSpeed: Int64

uploadSpeedLimit

Torrent upload limit (bytes/s).

public let uploadSpeedLimit: Int64

uploadSpeedAvg

Torrent average upload speed (bytes/second).

public let uploadSpeedAvg: Int64

eta

Torrent ETA (seconds).

public let eta: Int

seeds

Number of seeds connected to.

public let seeds: Int

seedsTotal

Number of seeds in the swarm.

public let seedsTotal: Int

peers

Number of peers connected to.

public let peers: Int

peersTotal

Number of peers in the swarm.

public let peersTotal: Int

comment

Torrent comment.

public let comment: String

timeElapsed

Torrent elapsed time (seconds).

public let timeElapsed: Int

shareRatio

Torrent share ratio.

public let shareRatio: Float

additionDate

When this torrent was added (unix timestamp).

public let additionDate: Int64

seedingTime

Torrent elapsed time while complete (seconds).

public let seedingTime: Int

Clone this wiki locally