HostFilteringOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for the HostFiltering middleware
public ref class HostFilteringOptions
public class HostFilteringOptions
type HostFilteringOptions = class
Public Class HostFilteringOptions
- Inheritance
-
HostFilteringOptions
Constructors
HostFilteringOptions() |
Properties
AllowedHosts |
The hosts headers that are allowed to access this site. At least one value is required. |
AllowEmptyHosts |
Indicates if requests without hosts are allowed. The default is true. |
IncludeFailureMessage |
Indicates if the 400 response should include a default message or be empty. This is enabled by default. |