Microsoft.AspNetCore.Server.Kestrel.Core.Features Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types that are used to describe feature components in the Kestrel web server.
Interfaces
IConnectionTimeoutFeature |
Feature for efficiently handling connection timeouts. |
IDecrementConcurrentConnectionCountFeature |
A connection feature allowing middleware to stop counting connections towards MaxConcurrentConnections. This is used by Kestrel internally to stop counting upgraded connections towards this limit. |
IHttp2StreamIdFeature |
The stream id for a given stream in an HTTP/2 connection. |
IHttpMinRequestBodyDataRateFeature |
Feature to set the minimum data rate at which the the request body must be sent by the client.
This feature is not supported for HTTP/2 requests except to disable it entirely by setting MinDataRate to |
IHttpMinResponseDataRateFeature |
Feature to set the minimum data rate at which the response must be received by the client. This feature is not available for HTTP/2 requests. Instead, use MinResponseDataRate for server-wide configuration which applies to both HTTP/2 and HTTP/1.x. |
ISslStreamFeature |
Feature to get access to the connection's SslStream. This feature will not be available for non-TLS connections or HTTP/3. |
ITlsApplicationProtocolFeature |
Feature to set access the TLS application protocol |
Remarks
For more information about hosting ASP.NET Core apps with Kestrel, see Kestrel web server implementation in ASP.NET Core.