Microsoft.AspNetCore.Http Namespace

Classes

ConnectionInfo
CookieBuilder

Defines settings used to create a cookie.

CookieOptions

Options used to create a new cookie.

DefaultHttpContext
FormCollection

Contains the parsed form values.

HeaderDictionary

Represents a wrapper for RequestHeaders and ResponseHeaders.

HeaderDictionaryExtensions
HeaderDictionaryTypeExtensions
HttpContext

Encapsulates all HTTP-specific information about an individual HTTP request.

HttpContextAccessor
HttpContextFactory
HttpMethods
HttpRequest

Represents the incoming side of an individual HTTP request.

HttpResponse

Represents the outgoing side of an individual HTTP request.

HttpResponseWritingExtensions

Convenience methods for writing to the response.

MiddlewareFactory
RequestFormReaderExtensions
ResponseExtensions
SendFileResponseExtensions

Provides extensions for HttpResponse exposing the SendFile extension.

SessionExtensions
StatusCodes
WebSocketAcceptContext
WebSocketManager

Manages the establishment of WebSocket connections for a specific HTTP request.

Structs

FormCollection.Enumerator
FragmentString

Provides correct handling for FragmentString value when needed to generate a URI string

HeaderDictionary.Enumerator
HostString

Represents the host portion of a URI can be used to construct URI's properly formatted and encoded for use in HTTP headers.

PathString

Provides correct escaping for Path and PathBase values when needed to reconstruct a request or redirect URI string

QueryString

Provides correct handling for QueryString value when needed to reconstruct a request or redirect URI string

Interfaces

IFormCollection

Represents the parsed form values sent with the HttpRequest.

IFormFile

Represents a file sent with the HttpRequest.

IFormFileCollection

Represents the collection of files sent with the HttpRequest.

IHeaderDictionary

Represents HttpRequest and HttpResponse headers

IHttpContextAccessor
IHttpContextFactory
IMiddleware

Defines middleware that can be added to the application's request pipeline.

IMiddlewareFactory

Provides methods to create middlware.

IQueryCollection

Represents the HttpRequest query string collection

IRequestCookieCollection

Represents the HttpRequest cookie collection

IResponseCookies

A wrapper for the response Set-Cookie header.

ISession

Enums

CookieSecurePolicy

Determines how cookie security properties are set.

SameSiteMode

Delegates

RequestDelegate

A function that can process an HTTP request.