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

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