GetConnect constructor

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

Implementation

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