Download the PHP package loner/stream without Composer
On this page you can find all versions of the php package loner/stream. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package stream
流服务基础组件
用于构建流服务端及客户端
运行依赖
- php: ^8.1
安装
不推荐直接安装,可选择升级组件
升级组件
- 无连接状态的流服务组件,详见【 loner/stream-stateless 】
- 有连接状态的流服务组件,详见【 loner/stream-stateful 】
组件功能
-
事件轮询反应器,详见【 loner/reactor 】
-
基础服务端:Loner\Stream\Server\Server
-
基础客户端:Loner\Stream\Client\Client
-
网络地址 IP、PORT
-
通信消息
- 应用层协议:Loner\Stream\Protocol\ProtocolInterface
补充说明:
- 自定义应用层协议对应的消息需实现 Stringable 接口,且其字符串表示形式须为其完整数据包
- 部分协议因请求和响应格式不同,要区分服务端和客户端,例如 http、websocket 协议
All versions of stream with dependencies
PHP Build Version
Package Version
The package loner/stream contains the following files
Loading the files please wait ....