Click or drag to resize

NLogRequestPostedBodyMiddlewareOptionsAllowContentTypes Property

Prefix and suffix values to be accepted as ContentTypes. Ex. key-prefix = "application/" and value-suffix = "json"

Namespace:  NLog.Web
Assembly:  NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.5.0+9fe9421708749962bac8393d7cec5df976518ccb
Syntax
public IList<KeyValuePair<string, string>> AllowContentTypes { get; set; }

Property Value

Type: IListKeyValuePairString, String
See Also