getGlobalOption method

  1. @override
Future<Aria2Option> getGlobalOption()
override

获取全局配置

Implementation

@override
Future<Aria2Option> getGlobalOption() async {
  var data = await _requestApi('aria2.getGlobalOption', []);
  return Aria2Option.fromJson(data);
}