workerman
workerman copied to clipboard
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
there is a need to create child processes dynamically. For example, for network connections to other network services as one process per service I tried that: ``` use \Workerman\Worker; use...
I was using Workerman to make a TCP server using the example in the readme, and it doesn't work. The onMessage callback is not called and the connection gets close...
All the rust frameworks are using `io_uring ` for performance and ease of use. Now that exist an extension in PHP, we can try to add it to Workerman. https://github.com/ringPHP/php-mrloop...
目前封装的方式实现效果是在断开前发送一条消息,但有时候需要根据断开ws连接code、reason去判断,目前看没法实现
Hi all! I am experiencing an issue in our mobile application when establishing a WebSocket connection. I start a timer that sends a short command (b1000_0) at an interval of...
Hi, we have 2 servers for high availability and load balancing. I'm using workerman as websocket server. Device 1 connects to server 1, device 2 connects to server 2. Device...
use [email protected] with [email protected] on windows server open browser and open server address, browser always loading with nothing output
Dear @walkor, Thanks for your workerman work! Can you create a GitHub organization for workerman? - https://github.com/account/organizations/new And transfer all your workerman repositories into? - https://github.com/walkor?tab=repositories&q=workerman&type=&language=&sort= GitHub adds redirections after...
```php $worker->onMessage = function(TcpConnection $connection, $data) { //$data是text还是binary } ``` js中的websocket接口可以根据data是string还是array buffer来判断,不过php中都是string。 有些场景下需要根据数据类型处理不同的业务逻辑,我看到`Workerman\Protocols\Websocket`里面是解析了opcode的,但似乎并没有暴露出来。