C# Class HealthMonitoring.Monitors.Http.HttpMonitor

Inheritance: IHealthMonitor
Afficher le fichier Open project: wongatech/HealthMonitoring

Méthodes publiques

Méthode Description
CheckHealthAsync ( string address, CancellationToken cancellationToken ) : Task

Méthodes protégées

Méthode Description
HttpMonitor ( string name ) : System.Collections.Generic
ReadSuccessfulContent ( HttpContent content ) : string>>.Task

Private Methods

Méthode Description
GetFaultyResponseDetails ( HttpResponseMessage response ) : string>>.Task
HttpMonitor ( ) : System.Collections.Generic

Method Details

CheckHealthAsync() public méthode

public CheckHealthAsync ( string address, CancellationToken cancellationToken ) : Task
address string
cancellationToken System.Threading.CancellationToken
Résultat Task

HttpMonitor() protected méthode

protected HttpMonitor ( string name ) : System.Collections.Generic
name string
Résultat System.Collections.Generic

ReadSuccessfulContent() protected méthode

protected ReadSuccessfulContent ( HttpContent content ) : string>>.Task
content System.Net.Http.HttpContent
Résultat string>>.Task