Esempio n. 1
0
 public void Setup()
 {
     _apiClient = new NetFlagrApiClient(new NetFlagrHttpClient(_httpClient, Options.Create <NetFlagrConfiguration>(new NetFlagrConfiguration()
     {
         BasePath  = "https://try-flagr.herokuapp.com/api/v1/",
         Timeout   = 100000,
         UserAgent = "",
         Username  = "",
         Password  = ""
     })));
 }
 public WeatherForecastController(NetFlagrApiClient netFlagrService, ILogger <WeatherForecastController> logger)
 {
     _netFlagrService = netFlagrService;
     _logger          = logger;
 }