setDownloaderConfig method
设置下载config
Implementation
Future<dynamic> setDownloaderConfig(String vid, String index,
{String? userAgent,
String? referrer,
String? httpProxy,
int? connectTimeoutS,
int? networkTimeoutMs}) {
var map = {
'vid': vid,
'index': index,
'UserAgent': userAgent,
'Referrer': referrer,
'HttpProxy': httpProxy,
'ConnectTimeoutS': connectTimeoutS,
'NetworkTimeoutMs': networkTimeoutMs
};
return _methodChannel.invokeMethod("setDownloaderConfig", map);
}