manyou/aria2
Composer 安装命令:
composer require manyou/aria2
包简介
Aria2 JSON-RPC Client
README 文档
README
composer require manyou/aria2
This library uses symfony/http-client.
An exception will be thrown if an error occurred.
<?php declare(strict_types=1); use Manyou\Aria2\Aria2; $aria2 = new Aria2('http://localhost:6800/jsonrpc', 'rpc-secret'); $aria2->request('addUri', [ ['https://example.com/'], ['out' => 'index.html'] ]); // or use the "__call" magic method $aria2->addUri( ['https://example.com/'], ['out' => 'index.html'] );
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unlicense
- 更新时间: 2022-11-08