createAriaTaskOption function
Future<TaskOptions>
createAriaTaskOption({
- List<
String> ? header, - String? allProxy,
- int? split,
- String? dir,
- String? out,
- String? gid,
- bool? rContinue,
- bool? autoFileRenaming,
- bool? checkIntegrity,
- String? lowestSpeedLimit,
- String? maxDownloadLimit,
- int? maxTries,
- int? maxConnectionPerServer,
- int? timeout,
- required Map<
String, String> extraOptions,
创建配置
Implementation
Future<TaskOptions> createAriaTaskOption(
{List<String>? header,
String? allProxy,
int? split,
String? dir,
String? out,
String? gid,
bool? rContinue,
bool? autoFileRenaming,
bool? checkIntegrity,
String? lowestSpeedLimit,
String? maxDownloadLimit,
int? maxTries,
int? maxConnectionPerServer,
int? timeout,
required Map<String, String> extraOptions}) =>
RustLib.instance.api.crateApiAriaCreateAriaTaskOption(
header: header,
allProxy: allProxy,
split: split,
dir: dir,
out: out,
gid: gid,
rContinue: rContinue,
autoFileRenaming: autoFileRenaming,
checkIntegrity: checkIntegrity,
lowestSpeedLimit: lowestSpeedLimit,
maxDownloadLimit: maxDownloadLimit,
maxTries: maxTries,
maxConnectionPerServer: maxConnectionPerServer,
timeout: timeout,
extraOptions: extraOptions);