Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.AspNetCore.Http.Features

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​AspNetCore.​Antiforgery

Used to set the result of anti-forgery token validation.

Microsoft.​AspNetCore.​Http

Options used to create a new cookie.
interface IFormCollection
Represents the parsed form values sent with the HttpRequest.
interface IFormFile
Represents a file sent with the HttpRequest.
Represents the collection of files sent with the HttpRequest.
interface IHeaderDictionary
Represents HttpRequest and HttpResponse headers
interface IQueryCollection
Represents the HttpRequest query string collection
Represents the HttpRequest cookie collection
interface IResponseCookies
A wrapper for the response Set-Cookie header.
interface ISession
Stores user data while the user browses a web application. Session state uses a store maintained by the application to persist data across requests from a client. The session data is backed by a cache and considered ephemeral data.
Used to set the SameSite field on response cookies to indicate if those cookies should be included by the client on future "same-site" or "cross-site" requests. RFC Draft: <see href="https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.1" />
A context for negotiating a websocket upgrade.

Microsoft.​AspNetCore.​Http.​Features

Use to dynamically control response compression for HTTPS requests.
Provides information about rejected HTTP requests.
interface IFormFeature
Allows reading the request body as a HTTP form.
Controls the IO behavior for the <see cref="P:Microsoft.AspNetCore.Http.Features.IHttpRequestFeature.Body" /> and <see cref="P:Microsoft.AspNetCore.Http.Features.IHttpResponseFeature.Body" />
Information regarding the TCP/IP connection carrying the request.
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
Feature to inspect and modify the maximum request body size for a single request.
Provides access to tags added to HTTP request duration metrics. This feature isn't set if the counter isn't enabled.
Used to indicate if the request can have a body.
Contains the details of a given request. These properties should all be mutable. None of these properties should ever be set to null.
Feature to uniquely identify a request.
Provides access to the HTTP request lifetime operations.
This feature exposes HTTP request trailer headers, either for HTTP/1.1 chunked bodies or HTTP/2 trailing headers.
interface IHttpResetFeature
Used to send reset messages for protocols that support them such as HTTP/2 or HTTP/3.
An aggregate of the different ways to interact with the response body.
Represents the fields and state of an HTTP response.
Provides access to response trailers. <para> 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 <see href="https://tools.ietf.org/html/rfc7230#section-4.1.2">RFC7230</see>. </para>
Configures response compression behavior for HTTPS on a per-request basis.
Provides access to server upgrade features.
Provides access to server websocket features.
API for accepting and retrieving WebTransport sessions.
interface IItemsFeature
Provides a key/value collection that can be used to share data within the scope of this request.
interface IQueryFeature
Provides access to the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> associated with the HTTP request.
Represents the HTTP request body as a <see cref="T:System.IO.Pipelines.PipeReader" /> .
Provides access to request cookie collection.
A helper for creating the response Set-Cookie header.
This feature provides access to request server variables set.
Provides acccess to the request-scoped <see cref="T:System.IServiceProvider" /> .
interface ISessionFeature
Provides access to the <see cref="T:Microsoft.AspNetCore.Http.ISession" /> for the current request.
Provides access to TLS features associated with the current HTTP connection.
Provides information regarding TLS token binding parameters.
Used to query, grant, and withdraw user consent regarding the storage of user information related to site activity and functionality.
Controls the session and streams of a WebTransport session.

Microsoft.​AspNetCore.​Http.​Features.​Authentication

The HTTP authentication feature.