TorrentSession
constructor(torrent: TorrentInfo, disk: DiskIo, network: NetworkRuntime, scope: CoroutineScope, peerId: Sha1Hash = generatePeerId(), listenPort: Int = 6881, httpTracker: HttpTracker? = null, maxPeers: Int = 50, tickIntervalMs: Long = 1000, settings: SettingsPack = SettingsPack(), utp: UtpSocketManager? = null, limiter: RateLimiter? = null, torrentBandwidth: TorrentBandwidth? = null, connections: ConnectionBudget? = null, resumeData: AddTorrentParams? = null, ipFilter: IpFilter? = null)