Click or drag to resize

NLogRequestPostedBodyMiddlewareOptions Properties

The NLogRequestPostedBodyMiddlewareOptions type exposes the following members.

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. Default: 30 KByte
Public propertyShouldCapture
If this returns true, the post request body will be captured Defaults to true if content length <= 30KB This can be used to capture only certain content types, only certain hosts, only below a certain request body size, and so forth
Top
See Also