Exemplo n.º 1
0
 internal TorSharpToolFetcher(
     TorSharpSettings settings,
     HttpClient client,
     ISimpleHttpClient simpleHttpClient,
     IProgress <DownloadProgress> progress)
 {
     _settings         = settings;
     _simpleHttpClient = simpleHttpClient;
     _progress         = progress;
     _privoxyFetcher   = new PrivoxyFetcher(settings, client);
     _torFetcher       = new TorFetcher(settings, client);
 }
Exemplo n.º 2
0
 public TorSharpToolFetcher(TorSharpSettings settings, HttpClient client)
 {
     _settings       = settings;
     _privoxyFetcher = new PrivoxyFetcher(client);
     _torFetcher     = new TorFetcher(client);
 }