isAllowedHttpPath function

bool isAllowedHttpPath(
  1. String path
)

Whether an http path may be called. grantChance is always denied.

Implementation

bool isAllowedHttpPath(String path) =>
    path != 'grantChance' && _httpPathRegex.hasMatch(path);