Microsoft.AspNetCore.Http.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.
Contains types related to Features.
Default |
This type exists only for the purpose of unit testing where the user can directly set the Session property without the need for creating a ISessionFeature. |
Feature |
Default implementation for IFeatureCollection. |
Feature |
Extension methods for getting feature from IFeatureCollection |
Form |
Default implementation for IFormFeature. |
Form |
Options to configure reading the request body as a HTTP form. |
Http |
Default implementation for IHttpConnectionFeature. |
Http |
Default implementation for IHttpRequestFeature. |
Http |
Default implementation for IHttpRequestIdentifierFeature. |
Http |
Default implementation for IHttpRequestLifetimeFeature. |
Http |
Default implementation for IHttpResponseFeature. |
Items |
Default implementation for IItemsFeature. |
Query |
Default implementation for IQueryFeature. |
Request |
Default implementation for IRequestBodyPipeFeature. |
Request |
Default implementation for IRequestCookiesFeature. |
Request |
An implementation for IServiceProvidersFeature for accessing request services. |
Response |
Default implementation of IResponseCookiesFeature. |
Route |
A feature for routing values. Use Features to access the values associated with the current request. |
Service |
Default implementation for IServiceProvidersFeature. |
Tls |
Default implementation for TlsConnectionFeature. |
Feature |
A cached reference to a feature. |
Feature |
A reference to a collection of features. |
IBad |
Provides information about rejected HTTP requests. |
IEndpoint |
A feature interface for endpoint routing. Use Features to access an instance associated with the current request. |
IFeature |
Represents a collection of HTTP features. |
IForm |
Allows reading the request body as a HTTP form. |
IHttp |
Feature to access the Activity associated with a request. |
IHttp |
|
IHttp |
|
IHttp |
Information regarding the TCP/IP connection carrying the request. |
IHttp |
Used with protocols that require the Extended CONNECT handshake such as HTTP/2 WebSockets and WebTransport. https://www.rfc-editor.org/rfc/rfc8441#section-4 |
IHttp |
Feature to inspect and modify the maximum request body size for a single request. |
IHttp |
Provides access to tags added to HTTP request duration metrics. This feature isn't set if the counter isn't enabled. |
IHttp |
Used to indicate if the request can have a body. |
IHttp |
Contains the details of a given request. These properties should all be mutable. None of these properties should ever be set to null. |
IHttp |
Feature to uniquely identify a request. |
IHttp |
Provides access to the HTTP request lifetime operations. |
IHttp |
This feature exposes HTTP request trailer headers, either for HTTP/1.1 chunked bodies or HTTP/2 trailing headers. |
IHttp |
Used to send reset messages for protocols that support them such as HTTP/2 or HTTP/3. |
IHttp |
An aggregate of the different ways to interact with the response body. |
IHttp |
Represents the fields and state of an HTTP response. |
IHttp |
Provides access to response trailers. Response trailers allow for additional headers to be sent at the end of an HTTP/1.1 (chunked) or HTTP/2 response. For more details, see RFC7230. |
IHttps |
Configures response compression behavior for HTTPS on a per-request basis. |
IHttp |
Provides an efficient mechanism for transferring files from disk to the network. |
IHttp |
Provides access to server upgrade features. |
IHttp |
Provides access to server websocket features. |
IHttp |
API for accepting and retrieving WebTransport sessions. |
IItems |
Provides a key/value collection that can be used to share data within the scope of this request. |
IQuery |
Provides access to the IQueryCollection associated with the HTTP request. |
IRequest |
Represents the HTTP request body as a PipeReader. |
IRequest |
Provides access to request cookie collection. |
IResponse |
A helper for creating the response Set-Cookie header. |
IRoute |
A feature interface for routing values. Use Features to access the values associated with the current request. |
IServer |
This feature provides access to request server variables set. |
IService |
Provides acccess to the request-scoped IServiceProvider. |
ISession |
Provides access to the ISession for the current request. |
ITls |
Provides access to TLS features associated with the current HTTP connection. |
ITls |
Provides information regarding TLS token binding parameters. |
ITracking |
Used to query, grant, and withdraw user consent regarding the storage of user information related to site activity and functionality. |
IWeb |
Controls the session and streams of a WebTransport session. |
Https |
Use to dynamically control response compression for HTTPS requests. |
For more information about features, see Request Features in ASP.NET Core.