HttpIdentityResolver constructor

HttpIdentityResolver({
  1. String handleResolver = 'https://public.api.bsky.app',
  2. String plcDirectory = 'https://plc.directory',
  3. Client? httpClient,
  4. Set<String>? allowedHosts,
  5. bool allowPrivateNetwork = false,
  6. Duration timeout = const Duration(seconds: 10),
  7. int maxResponseBytes = 512 * 1024,
})

Implementation

HttpIdentityResolver({
  this.handleResolver = 'https://public.api.bsky.app',
  this.plcDirectory = 'https://plc.directory',
  final http.Client? httpClient,
  this.allowedHosts,
  this.allowPrivateNetwork = false,
  this.timeout = const Duration(seconds: 10),
  this.maxResponseBytes = 512 * 1024,
}) : _httpClient = httpClient;