public RestClient( ApiRetrySettings apiRetrySettings, ILogFactory logFactory, ApiCredentials credentials = null) { _apiRetrySettings = apiRetrySettings; var loggingHandler = new LoggingHandler(logFactory.CreateLog(this), new HttpClientHandler(), "/0/public/Depth"); _client = new HttpClient(new AuthenticationHandler(credentials, loggingHandler)) { BaseAddress = new Uri(ApiUrl) }; }
public SettingsService(ApiRetrySettings apiRetrySettings) { _apiRetrySettings = apiRetrySettings; }