@ctrl/rtorrent
    Preparing search index...

    Class RTorrent

    Implements

    • TorrentClient
    Index

    Constructors

    Properties

    state: RTorrentState = {}

    Methods

    • Parameters

      • torrent: string | Uint8Array<ArrayBufferLike>
      • options: Partial<AddTorrentOptions> = {}

      Returns Promise<boolean>

    • Export the state of the client as JSON

      Returns Jsonify<RTorrentState>

    • Returns all torrent data. Data has been normalized

      Returns Promise<AllClientData>

    • Parameters

      • torrent: string | Uint8Array<ArrayBufferLike>
      • options: Partial<NormalizedAddTorrentOptions> = {}

      Returns Promise<NormalizedTorrent>

    • Parameters

      • hash: string

      Returns Promise<boolean>

    • Parameters

      • hash: string

      Returns Promise<boolean>

    • Parameters

      • hash: string

      Returns Promise<boolean>

    • Parameters

      • hash: string
      • deleteFiles: boolean = false

      Returns Promise<boolean>

    • Parameters

      • hash: string

      Returns Promise<boolean>