winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ConnectionConfig.cpp (415B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 
      4 #include "ConnectionConfig.h"
      5 
      6 #include "RequestParams.h"
      7 
      8 using namespace SFS;
      9 using namespace SFS::details;
     10 
     11 ConnectionConfig::ConnectionConfig(const SFS::RequestParams& requestParams)
     12     : maxRetries(requestParams.retryOnError ? c_maxRetries : 0)
     13     , baseCV(requestParams.baseCV)
     14     , proxy(requestParams.proxy)
     15 {
     16 }