请帮忙解决下Mqtt不能声明问题,谢谢!

hanhuliang

Warning: Cannot declare class \Workerman\Protocols\Mqtt, because the name is already in use in

服务器收到数据,需要使用MQTT.转发到其它服务器上,在public static function onMessage($client_id, $message)回调中使用mqtt,出现不能声明的问题。

1618 2 0
2个回答

xiuwang

完整报错和代码贴下

  • 暂无评论
tcxl000

老哥,你这个问题解决了么,我也是这样

  • 暂无评论
年代过于久远,无法发表回答
🔝