Class ClientNetworkMiddleware
Collects normalized client-network facts into an IClientNetworkFeature for the current request.
Inherited Members
Namespace: Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public sealed class ClientNetworkMiddleware
Constructors
| Edit this page View SourceClientNetworkMiddleware(RequestDelegate)
Initializes a new instance of the ClientNetworkMiddleware class.
Declaration
public ClientNetworkMiddleware(RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| RequestDelegate | next |
Methods
| Edit this page View SourceInvokeAsync(HttpContext)
Populates the typed client-network feature and continues the request pipeline.
Declaration
public Task InvokeAsync(HttpContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context |
Returns
| Type | Description |
|---|---|
| Task |