You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
606 B
25 lines
606 B
// Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
|
|
|
|
namespace NWebsec.Core.HttpHeaders
|
|
{
|
|
public class HeaderResult
|
|
{
|
|
public enum ResponseAction
|
|
{
|
|
Set = 0,
|
|
Remove = 1
|
|
}
|
|
|
|
public HeaderResult(ResponseAction action, string name, string value = null)
|
|
{
|
|
Action = action;
|
|
Name = name;
|
|
Value = value;
|
|
}
|
|
|
|
|
|
public ResponseAction Action { get; set; }
|
|
public string Name { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
}
|