Click or drag to resize

DefaultHttpContextAccessor Class

Provides the HttpContext associated with the current request.
Inheritance Hierarchy
SystemObject
  NLog.WebDefaultHttpContextAccessor

Namespace:  NLog.Web
Assembly:  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
public class DefaultHttpContextAccessor : IHttpContextAccessor

The DefaultHttpContextAccessor type exposes the following members.

Constructors
  NameDescription
Public methodDefaultHttpContextAccessor
Initializes a new instance of the DefaultHttpContextAccessor class
Top
Properties
  NameDescription
Public propertyHttpContext
HttpContext of the current request.
Top
See Also