ProxySessionManager constructor

ProxySessionManager({
  1. int maxSessionsPerProxy = 5,
  2. int maxSessionAgeSeconds = 3600,
  3. int maxSessionIdleSeconds = 600,
  4. Random? random,
  5. Logger? logger,
})

Creates a new ProxySessionManager

Implementation

ProxySessionManager({
  this.maxSessionsPerProxy = 5,
  this.maxSessionAgeSeconds = 3600, // 1 hour
  this.maxSessionIdleSeconds = 600, // 10 minutes
  Random? random,
  this.logger,
}) : _random = random ?? Random();