Click or drag to resize

NLogRequestPostedBodyModule Class

HttpModule that enables ${aspnet-request-posted-body}
Inheritance Hierarchy
SystemObject
  NLog.WebNLogRequestPostedBodyModule

Namespace:  NLog.Web
Assembly:  NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
public class NLogRequestPostedBodyModule : IHttpModule

The NLogRequestPostedBodyModule type exposes the following members.

Constructors
  NameDescription
Public methodNLogRequestPostedBodyModule
Initializes new instance of the NLogRequestPostedBodyModule class
Top
Properties
  NameDescription
Public propertyAllowContentTypes
Prefix and suffix values to be accepted as ContentTypes. Ex. key-prefix = "application/" and value-suffix = "json"
Public propertyMaxContentLength
The maximum request posted body size that will be captured. Defaults to 30KB.
Top
See Also