public SpeedTestNetClient(ISpeedtestHttpClient speedtestHttpClient, ISpeedTestClient speedTestClient, IOptions <Runner> runnerOptions, ILogger <SpeedTestNetClient> logger) { _runnerOptions = runnerOptions.Value; _speedtestHttpClient = speedtestHttpClient; _speedTestClient = speedTestClient; _logger = logger; }
public SpeedTestNodeClient(ISpeedtestHttpClient speedtestHttpClient, INodeServices nodeServices, IOptions <Runner> runnerOptions, ILogger <SpeedTestNodeClient> logger) { _logger = logger; _runnerOptions = runnerOptions.Value; _speedtestHttpClient = speedtestHttpClient; _nodeServices = nodeServices; }