rules method

List<ServerRule> rules(
  1. String method
)

Returns the rules in the pipeline for a given method.

Returns the empty list if there are no rules for that method.

Implementation

List<ServerRule> rules(String method) => _rulesByMethod[method] ?? [];