GetConnect constructor

GetConnect({
  1. String userAgent = 'getx-client',
  2. Duration timeout = const Duration(seconds: 5),
  3. bool followRedirects = true,
  4. int maxRedirects = 5,
  5. int maxAuthRetries = 1,
  6. bool allowAutoSignedCert = false,
})

Implementation

GetConnect({
  this.userAgent = 'getx-client',
  this.timeout = const Duration(seconds: 5),
  this.followRedirects = true,
  this.maxRedirects = 5,
  this.maxAuthRetries = 1,
  this.allowAutoSignedCert = false,
}) {
  $configureLifeCycle();
}