DOKK / manpages / debian 12 / libtransmission-client-perl / Transmission::Session.3pm.en
Transmission::Session(3pm) User Contributed Perl Documentation Transmission::Session(3pm)

Transmission::Session - Transmission session

See "4 Session requests" from <https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt>

This class holds data, regarding the Transmission session.

 $stats_obj = $self->stats;

Returns a Transmission::Stats object.

 $number = $self->alt_speed_down

max global download speed (in K/s)

 $boolean = $self->alt_speed_enabled

true means use the alt speeds

 $number = $self->alt_speed_time_begin

when to turn on alt speeds (units: minutes after midnight)

 $boolean = $self->alt_speed_time_enabled

true means the scheduled on/off times are used

 $number = $self->alt_speed_time_end

when to turn off alt speeds (units: same)

 $number = $self->alt_speed_time_day

what day(s) to turn on alt speeds (look at tr_sched_day)

 $number = $self->alt_speed_up

max global upload speed (in K/s)

 $boolean = $self->blocklist_enabled

true means enabled

 $boolean = $self->dht_enabled

true means allow dht in public torrents

 $string = $self->encryption

"required", "preferred", "tolerated"

 $string = $self->download_dir

default path to download torrents

 $number = $self->peer_limit_global

maximum global number of peers

 $number = $self->peer_limit_per_torrent

maximum global number of peers

 $boolean = $self->pex_enabled

true means allow pex in public torrents

 $number = $self->peer_port

port number

 $boolean = $self->peer_port_random_on_start

true means pick a random peer port on launch

 $boolean = $self->port_forwarding_enabled

true means enabled

 $double = $self->seedRatioLimit

the default seed ratio for torrents to use

 $boolean = $self->seedRatioLimited

true if seedRatioLimit is honored by default

 $number = $self->speed_limit_down

max global download speed (in K/s)

 $boolean = $self->speed_limit_down_enabled

true means enabled

 $number = $self->speed_limit_up

max global upload speed (in K/s)

 $boolean = $self->speed_limit_up_enabled

true means enabled

See Transmission::Client

2022-10-16 perl v5.34.0