changeOption method

  1. @override
Future<String> changeOption(
  1. String gid,
  2. Aria2Option options
)
override

修改任务配置,部分参数修改完任务重启

Implementation

@override
Future<String> changeOption(String gid, Aria2Option options) async {
  return await _requestApi('aria2.changeOption', [gid, options.toJson]);
}