Method | Description | |
---|---|---|
GetRuleSettings ( ) : IEnumerable |
Gets an enumerable list of T:Stumps.RuleSetting objects used to represent the current instance.
|
|
HeaderRule ( ) : System |
Initializes a new instance of the T:Stumps.Rules.HeaderRule class.
|
|
HeaderRule ( string name, string value ) : System |
Initializes a new instance of the T:Stumps.Rules.HeaderRule class.
|
|
InitializeFromSettings ( IEnumerable |
Initializes a rule from an enumerable list of T:Stumps.RuleSetting objects.
|
|
IsMatch ( IStumpsHttpRequest request ) : bool |
Determines whether the specified request matches the rule.
|
Method | Description | |
---|---|---|
InitializeRule ( string name, string value ) : void |
Initializes the rule.
|
public HeaderRule ( string name, string value ) : System | ||
name | string | The name of the HTTP header. |
value | string | The value of the HTTP header. |
return | System |
public InitializeFromSettings ( IEnumerable |
||
settings | IEnumerable |
The enumerable list of |
return | void |
public IsMatch ( IStumpsHttpRequest request ) : bool | ||
request | IStumpsHttpRequest | The |
return | bool |