UTransportOptions constructor

const UTransportOptions({
  1. String? userAgent,
  2. String? proxy,
  3. Set<String> pinnedCertificateSha256 = const <String>{},
  4. Duration connectTimeout = const Duration(seconds: 20),
  5. bool withCredentials = false,
  6. int maxConnectionsPerHost = 16,
})

Implementation

const UTransportOptions({
  this.userAgent,
  this.proxy,
  this.pinnedCertificateSha256 = const <String>{},
  this.connectTimeout = const Duration(seconds: 20),
  this.withCredentials = false,
  this.maxConnectionsPerHost = 16,
});