Class HealthCheckEndpointMiddleware
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Extensions.Middleware
Assembly:cs.temp.dll.dll
Syntax
public class HealthCheckEndpointMiddleware : AppMetricsMiddleware<AspNetMetricsOptions>
Constructors
HealthCheckEndpointMiddleware(RequestDelegate, AspNetMetricsOptions, ILoggerFactory, IMetrics, IHealthResponseWriter)
Declaration
public HealthCheckEndpointMiddleware(RequestDelegate next, AspNetMetricsOptions aspNetOptions, ILoggerFactory loggerFactory, IMetrics metrics, IHealthResponseWriter healthResponseWriter)
Parameters
Type | Name | Description |
---|---|---|
RequestDelegate | next | |
AspNetMetricsOptions | aspNetOptions | |
ILoggerFactory | loggerFactory | |
IMetrics | metrics | |
IHealthResponseWriter | healthResponseWriter |
Methods
Invoke(HttpContext)
Declaration
public Task Invoke(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context |
Returns
Type | Description |
---|---|
Task |