axel-php:使用 Axel 加速 PHP 文件下载

时间:2021-06-01 11:03:26
【文件属性】:
文件名称:axel-php:使用 Axel 加速 PHP 文件下载
文件大小:17KB
文件格式:ZIP
更新时间:2021-06-01 11:03:26
PHP AXEL-PHP - PHP 的 Axel 加速下载功能 一般的 AXEL-PHP 库包含基于 C 的库。 Axel 从命令行执行加速下载,类似于wget 。 AXEL-PHP 提供异步和同步下载。 用法见下文。 AXEL-PHP 还带有一个可选的 FIFO 下载管理器,能够设置当前下载的数量。 只需将AxelDownloadManagerQueueInterface与您最喜欢的排队服务一起实现。 **请注意:这个库作为 alpha 正在积极开发中,随时可能发生变化。 ** 示例用法 使用完整回调同步下载 $ axel = new Axel \ AxelDownload (); $ axel -> start ( 'http://www.google.com' , null , null , function ( $ axel , $ status , $ success , $
【文件预览】:
axel-php-master
----src()
--------Axel()
----phpunit.xml.dist(674B)
----LICENSE(1KB)
----README.md(5KB)
----tests()
--------AxelDownloadSerializedTest.php(2KB)
--------TestFixture.php(1KB)
--------AxelDownloadTest.php(6KB)
--------AxelDownloadManagerTest.php(1KB)
----.gitignore(106B)
----CHANGELOG.md(1KB)
----composer.json(643B)

网友评论