http服务器:基于AmpPHP的非阻塞HTTP应用服务器

时间:2021-02-02 02:31:09
【文件属性】:
文件名称:http服务器:基于AmpPHP的非阻塞HTTP应用服务器
文件大小:99KB
文件格式:ZIP
更新时间:2021-02-02 02:31:09
php http async application-server http-server 该软件包提供了基于用PHP编写的无阻塞HTTP / 1.1和HTTP / 2应用程序服务器。 单独的软件包中提供了一些功能,例如。 这些软件包以前被命名为 ,但由于许多人使用旧名称存在问题,因此已重命名为更易于记忆。 产品特点 全面的TLS支持 可定制的GZIP压缩 HTTP / 2.0支持 中间件挂钩 (第3方) 要求 PHP 7 安装 composer require amphp/http-server 文献资料 例 <?php use Amp \ Http \ Server \ RequestHandler \ CallableRequestHandler ; use Amp \ Http \ Server \ HttpServer ; use Amp \ Http \ Server \ Request ; use Amp \ Http \ Server \ Response ; use Amp \ Http \ Status ; use Amp \ Socket \ Server ; use Psr \ Log \ NullLogger ; // Run this scri
【文件预览】:
http-server-master
----composer.json(2KB)
----docs()
--------performance.md(3KB)
--------.shared()
--------latex()
--------asset(13B)
--------_config.yml(697B)
--------io.md(2KB)
--------Gemfile(121B)
--------classes()
--------humans.txt(357B)
--------.gitignore(37B)
--------README.md(1KB)
--------index.md(2KB)
--------production.md(4KB)
--------addons.md(1KB)
----tools()
--------tls()
----resources()
--------error.html(2KB)
--------internal-server-error.html(2KB)
----LICENSE(1KB)
----src()
--------Driver()
--------functions.php(197B)
--------Internal()
--------Response.php(11KB)
--------DefaultErrorHandler.php(1KB)
--------MissingAttributeError.php(188B)
--------ServerObserver.php(883B)
--------ClientException.php(1KB)
--------RequestBody.php(1KB)
--------Options.php(13KB)
--------Push.php(1KB)
--------Middleware.php(489B)
--------Trailers.php(3KB)
--------ErrorHandler.php(514B)
--------HttpServer.php(14KB)
--------Server.php(120B)
--------RequestHandler()
--------Request.php(13KB)
--------Middleware()
--------RequestHandler.php(248B)
----travis()
--------h2spec.sh(227B)
----CHANGELOG.md(6KB)
----README.md(3KB)

网友评论