Exemplo n.º 1
0
 private void InitialBegin(string address)
 {
     IsBusy = true;
     _globalCancellationTokenSource = new CancellationTokenSource();
     _requestInstance = new Request(address, Package.Options.RequestConfiguration);
     Package.Address  = _requestInstance.Address;
     _chunkHub        = new ChunkHub(Package.Options.MaxTryAgainOnFailover, Package.Options.Timeout);
 }
Exemplo n.º 2
0
 private void InitialDownloader(string address)
 {
     IsBusy = true;
     _globalCancellationTokenSource = new CancellationTokenSource();
     _requestInstance = new Request(address, Package.Options.RequestConfiguration);
     Package.Address  = _requestInstance.Address;
     _chunkHub        = new ChunkHub(Package.Options);
 }