TorrentSearch

constructor(httpClient: HttpClient = HttpClient(), enableDefaultProviders: Boolean = true, providers: List<TorrentProvider> = emptyList(), providerCache: TorrentProviderCache? = null)

Parameters

httpClient

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

enableDefaultProviders

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.

providerCache

An optional TorrentProviderCache for caching.