interface ConcurrencyRule<C> {
    category: C;
    method?: HttpMethod;
    pattern: RegExp;
}

Type Parameters

  • C extends string

Properties

category: C
method?: HttpMethod

Matches any method when omitted.

pattern: RegExp

Matched against the normalized pathname. Must not use the g or y flag