Torrent Search
constructor(httpClient: HttpClient = HttpClient(), enableDefaultProviders: Boolean = true, providers: List<TorrentProvider> = emptyList(), providerCache: TorrentProviderCache? = null)
Parameters
http Client
The HttpClient to use for TorrentProvider search requests. NOTE: If providing a HttpClient used elsewhere in your app, do not call dispose as this will close your HttpClient
enable Default Providers
When false, the built-in default providers will be disabled. They can be enabled later with enableProvider.
providers
An optional list of custom TorrentProvider implementations.
provider Cache
An optional TorrentProviderCache for caching.