-
Notifications
You must be signed in to change notification settings - Fork 3
qBittorrentWebAPI
adborbas edited this page Jun 5, 2022
·
1 revision
public class qBittorrentWebAPI: qBittorrentService public init(
scheme: Scheme,
host: String,
port: Int = qBittorrentWebAPI.defaultPort,
authentication: Authentication) public static let defaultPort = 24560public func torrents(hash: String?) -> AnyPublisher<[TorrentInfo], qBittorrentWebAPIError> public func addTorrent(torrentFile: URL, configuration: AddTorrentConfiguration?) -> AnyPublisher<String, qBittorrentWebAPIError> public func deleteTorrent(hash: String, deleteFiles: Bool) -> AnyPublisher<String, qBittorrentWebAPIError> public func categories() -> AnyPublisher<[TorrentCategory], qBittorrentWebAPIError> public func appPreferences() -> AnyPublisher<AppPreferences, qBittorrentWebAPIError> public func torrentGenericProperties(hash: String) -> AnyPublisher<TorrentGenericProperties, qBittorrentWebAPIError> public func torrentContent(hash: String) -> AnyPublisher<[TorrentContent], qBittorrentWebAPIError> public func setFilePriority(hash: String, files: Set<Int>, priority: TorrentContent.Priority) -> AnyPublisher<String, qBittorrentWebAPIError> public func webAPIVersion() -> AnyPublisher<Semver, qBittorrentWebAPIError> Generated at 2022-06-10T12:18:58+0000 using swift-doc 1.0.0-rc.1.
Types
- AddTorrentConfiguration
- AddTorrentConfiguration.Management
- AppPreferences
- BasicAuthCredentials
- Semver
- TorrentCategory
- TorrentContent
- TorrentContent.Priority
- TorrentGenericProperties
- TorrentInfo
- TorrentState
- qBittorrentWebAPI
- qBittorrentWebAPI.Authentication
- qBittorrentWebAPI.Scheme
- qBittorrentWebAPIError