struct

QBittorrent::Model::TorrentPeersData

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Struct < Value < Object

The sync/torrentPeers response (see ext/api-map.md §2.3 / §3): the peer list for a single torrent, delivered as an incremental delta the same way as sync/maindata.

The client feeds the previous rid into the next request; full_update: true marks a complete payload, otherwise peers carries only added/changed peers and peers_removed lists the ip:port keys dropped since the last response id. Every field is nilable and JSON::Serializable::Unmapped preserves unmodelled keys.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

full_update

true when the payload is complete rather than an incremental delta.

Source
peers

Added/changed peers keyed by "ip:port".

Source
peers_removed

"ip:port" keys of peers removed since the last response id.

Source
rid

Response id to feed into the next sync/torrentPeers request.

Source
show_flags

Whether peer flags are shown/resolved.

Source