struct

QBittorrent::Model::TransferInfo

Inherits JSON::Serializable < Struct < Value < Object

Global transfer statistics returned by transfer/info (see ext/api-map.md §2.4 / §3). Targets qBittorrent 5.x / WebAPI v2.11+.

The core transfer/info payload carries the session speed/data counters, the current global rate limits, the DHT node count and the connection status. Real 5.x builds also emit the two last_external_address_* fields (present in the live fixture). The remaining fields below appear on the richer ServerState-flavoured payload / partial sync/maindata deltas that share this shape; every field is therefore nilable so both the lean transfer/info body and the extended variant decode cleanly.

Byte and speed counters are Int64 (they routinely exceed Int32); ratios and percentage-like values that the API sends as strings are kept as String? verbatim rather than coerced.

Constructors

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

Instance methods

alltime_dl

All-time downloaded data, bytes.

Source
alltime_ul

All-time uploaded data, bytes.

Source
average_time_queue

Average time a job spends queued, milliseconds.

Source
connection_status

Connection status. Decoded tolerantly: an unknown/null wire value becomes nil rather than raising (see ConnectionStatusConverter).

Source
dht_nodes

Number of DHT nodes currently connected.

Source
dl_info_data

Data downloaded this session, bytes.

Source
dl_info_speed

Current global download speed, bytes/s.

Source
dl_rate_limit

Global download rate limit, bytes/s (0 = unlimited).

Source
free_space_on_disk

Free space on the default save-path disk, bytes.

Source
global_ratio

All-time (global) share ratio, sent as a string by the API.

Source
last_external_address_v4

Last detected external IPv4 address (qB 5.x; e.g. "0.0.0.0").

Source
last_external_address_v6

Last detected external IPv6 address (qB 5.x; empty when none).

Source
queued_io_jobs

Number of queued disk I/O jobs.

Source
queueing

Whether torrent queueing is enabled.

Source
read_cache_hits

Read cache hit ratio (percentage), sent as a string.

Source
read_cache_overload

Read cache overload (percentage), sent as a string.

Source
refresh_interval

WebUI refresh interval, milliseconds.

Source
total_buffers_size

Total buffer size, bytes.

Source
total_peer_connections

Total peer connections.

Source
total_queued_size

Total size of queued I/O, bytes.

Source
total_wasted_session

Data wasted this session (hashfail etc.), bytes.

Source
up_info_data

Data uploaded this session, bytes.

Source
up_info_speed

Current global upload speed, bytes/s.

Source
up_rate_limit

Global upload rate limit, bytes/s (0 = unlimited).

Source
use_alt_speed_limits

Whether the alternative speed limits are currently active.

Source
write_cache_overload

Write cache overload (percentage), sent as a string.

Source