ScHttpClient constructor
ScHttpClient({})
Implementation
ScHttpClient({
this.getCache = _getCacheDmy,
this.setCache = _setCacheDmy,
this.getPostCache = _getPostCacheDmy,
this.setPostCache = _setPostCacheDmy,
this.getBinCache = _getBinCacheDmy,
this.setBinCache = _setCacheDmy,
String? userAgent,
String Function(Uri)? findProxy,
}) {
if (userAgent != null) _client.userAgent = userAgent;
if (findProxy != null) _client.findProxy = findProxy;
}