Connects deluge and returns a list of available methods
Optional
selectedHost: stringindex of host to use in result of get hosts
Download a torrent from url, pass the result to Deluge.addTorrent
file path
Gets host status
pass host id from this.getHosts()
Get list of files for a torrent
used to get torrent info before adding
use path returned from upload torrent looks like '/tmp/delugeweb-DfEsgR/tmpD3rujY.torrent'
get torrent state/status
fields ex - ['label']
returns the version ex - 2.0.3-2-201906121747-ubuntu18.04.1
Lists methods
disable or enable auth connection
a list of method names
torrent id from list torrents
(default: false) If true, remove the data from disk
Checks current session is valid