SsrfGuard constructor

const SsrfGuard({
  1. Set<String> allowedHosts = const {},
  2. bool allowLocalhostInDev = false,
  3. Future<List<InternetAddress>> resolver(
    1. String host
    ) = _systemResolver,
})

Implementation

const SsrfGuard({
  this.allowedHosts = const {},
  this.allowLocalhostInDev = false,
  this.resolver = _systemResolver,
});