WebSeed

constructor(client: HttpClient, baseUrl: String, torrent: TorrentInfo)

Parameters

client

the ktor HttpClient (engine chosen by the caller: CIO on JVM/Android, Darwin on iOS), injected so it can be mocked.

baseUrl

the web-seed URL from the torrent's url-list.

torrent

the parsed torrent whose files this seed serves.