Method | Description | |
---|---|---|
BodyMatchRule ( ) : System |
Initializes a new instance of the T:Stumps.Rules.BodyMatchRule class.
|
|
BodyMatchRule ( int length, string md5Hash ) : System |
Initializes a new instance of the T:Stumps.Rules.BodyMatchRule class.
|
|
GetRuleSettings ( ) : IEnumerable |
Gets an enumerable list of T:Stumps.RuleSetting objects used to represent the current instance.
|
|
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 ( int length, string md5Hash ) : void |
Initializes the rule.
|
|
IsHashEqual ( byte hashBytes ) : bool |
Determines whether the bytes in a specified hash match the hash for the rule.
|
public BodyMatchRule ( int length, string md5Hash ) : System | ||
length | int | The expected length of the body. |
md5Hash | string | The MD5 hash of the body. |
return | System |
public InitializeFromSettings ( IEnumerable |
||
settings | IEnumerable |
The enumerable list of |
return | void |
public IsMatch ( IStumpsHttpRequest request ) : bool | ||
request | IStumpsHttpRequest | The |
return | bool |