C# Class HealthMonitoring.Monitors.Http.HttpMonitor

Inheritance: IHealthMonitor
ファイルを表示 Open project: wongatech/HealthMonitoring

Public Methods

Method Description
CheckHealthAsync ( string address, CancellationToken cancellationToken ) : Task

Protected Methods

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

Private Methods

Method Description
GetFaultyResponseDetails ( HttpResponseMessage response ) : string>>.Task
HttpMonitor ( ) : System.Collections.Generic

Method Details

CheckHealthAsync() public method

public CheckHealthAsync ( string address, CancellationToken cancellationToken ) : Task
address string
cancellationToken System.Threading.CancellationToken
return Task

HttpMonitor() protected method

protected HttpMonitor ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic

ReadSuccessfulContent() protected method

protected ReadSuccessfulContent ( HttpContent content ) : string>>.Task
content System.Net.Http.HttpContent
return string>>.Task