TorrentBandwidth

A torrent's upload/download token-bucket pair, layered under the session-global channels the way libtorrent stacks bandwidth_channels (global → torrent) in a peer's request. Limits of 0 = unlimited.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun setDownloadLimit(bytesPerSecond: Int)
Link copied to clipboard
fun setUploadLimit(bytesPerSecond: Int)