CharlatanRequestMatcher typedef

CharlatanRequestMatcher = bool Function(CharlatanHttpRequest request)

A type representing a function to detect if an http request matches a predicate.

The return value is true if a match or false if no match.

Implementation

typedef CharlatanRequestMatcher = bool Function(
  /// The request including path params, body, headers, options, etc
  CharlatanHttpRequest request,
);