HttpContextAccessor Class

Definition

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

Applies to