php怎样触发Gateway::onMessage.

livebabys

不能用JS发送数据,只能用php吧数据法送给websocket,触发onMessage事件。

我现在new worker(‘http//’)用来接收数据,但是却没有办法法送给客户端。

3806 1 0
1个回答

walkor

参考gatewayWorker手册,在其它项目中推送
http://workerman.net/gatewaydoc/advanced/push.html

年代过于久远,无法发表回答
🔝