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: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
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