Beispiel #1
0
        public StatusPageClient(StatusPageComponent statusPageComponent)
        {
            _statusPageComponent = statusPageComponent ?? throw new ArgumentNullException(nameof(statusPageComponent));

            _httpClient = new HttpClient(
                new StatusPageAuthorizationHandler(statusPageComponent.ApiKey))
            {
                BaseAddress = new Uri("https://api.statuspage.io/v1/")
            };
        }
 public StatusPageIOTracker(StatusPageComponent statusPageComponent)
 {
     _statusPageClient = new StatusPageClient(statusPageComponent);
 }