如题,感谢。 比如业务上的一个控制器, 调用此控制器向特定的 客户端 发送消息 ```php class SendMessageController{ public function index(){ $socket = ApplicationContext::getContainer()->get(SocketIO::class); $reply = $socket->to($client_id)->emit('some_event', '消息体')->reply(); // $reply is null ? } } ``` 以上返回的 reply 为 null
如题,感谢。
比如业务上的一个控制器, 调用此控制器向特定的 客户端 发送消息
以上返回的 reply 为 null