Esempio n. 1
0
 internal PartitionedDownloader(
     CallingServerClient client,
     ContentTransferOptions transferOptions = default)
 {
     _client           = client;
     _maxWorkerCount   = transferOptions.MaximumConcurrency;
     _rangeSize        = Math.Min(transferOptions.MaximumTransferSize, Constants.ContentDownloader.Partition.MaxDownloadBytes);
     _initialRangeSize = transferOptions.InitialTransferSize;
 }
 internal ContentDownloader(CallingServerClient client)
 {
     _client = client;
 }