Example #1
0
 public DogApiClient(string apiKey, string appKey = null, string dataDogHost = null, DogApiHttpClient httpClient = null, bool leaveDispose = true)
 {
     this.ApiKey       = apiKey;
     this.AppKey       = appKey;
     this.DataDogHost  = dataDogHost ?? DefaultDataDogHost;
     this.httpClient   = httpClient ?? new DogApiHttpClientImpl();
     this.leaveDispose = leaveDispose;
 }