Class ActiveRequestCounterEndpointMiddleware
Inheritance
System.Object
AppMetricsMiddleware<AspNetMetricsOptions>
ActiveRequestCounterEndpointMiddleware
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 ActiveRequestCounterEndpointMiddleware : AppMetricsMiddleware<AspNetMetricsOptions>
Constructors
ActiveRequestCounterEndpointMiddleware(RequestDelegate, AspNetMetricsOptions, ILoggerFactory, IMetrics)
Declaration
public ActiveRequestCounterEndpointMiddleware(RequestDelegate next, AspNetMetricsOptions aspNetOptions, ILoggerFactory loggerFactory, IMetrics metrics)
Parameters
Type | Name | Description |
---|---|---|
RequestDelegate | next | |
AspNetMetricsOptions | aspNetOptions | |
ILoggerFactory | loggerFactory | |
IMetrics | metrics |
Methods
Invoke(HttpContext)
Declaration
public Task Invoke(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context |
Returns
Type | Description |
---|---|
Task |