Beispiel #1
0
 public bool IsSatisfiedBy(Request request)
 {
     return(WildcardPatternMatcher.MatchWildcardString(_body, request.Body.Trim()));
 }
Beispiel #2
0
 public bool IsSatisfiedBy(Request request)
 {
     return(WildcardPatternMatcher.MatchWildcardString(_path, request.Path));
 }
Beispiel #3
0
        public bool IsSatisfiedBy(Request request)
        {
            var headerValue = request.Headers[_name];

            return(WildcardPatternMatcher.MatchWildcardString(_pattern, headerValue));
        }