HttpContextAccessor Class
Definition
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 an implementation of IHttpContextAccessor based on the current execution context.
public ref class HttpContextAccessor : Microsoft::AspNetCore::Http::IHttpContextAccessor
public class HttpContextAccessor : Microsoft.AspNetCore.Http.IHttpContextAccessor
type HttpContextAccessor = class
interface IHttpContextAccessor
Public Class HttpContextAccessor
Implements IHttpContextAccessor
- Inheritance
-
HttpContextAccessor
- Implements
Constructors
HttpContextAccessor() |
Properties
HttpContext |
Gets or sets the current HttpContext. Returns |