filter abstract method

void filter(
  1. String uri,
  2. RequestFilter filter, {
  3. bool preceding = false,
})

Maps the given URI to the given filter. *

    • uri: a regular expression used to match the request URI.
    • filter: the filter. If null, it means removal.
    • preceding - whether to make the mapping preceding any previous mappings.
  • In other words, if true, this mapping will be interpreted first.

Implementation

void filter(String uri, RequestFilter filter, {bool preceding = false});