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

Warning: Cannot declare class \Workerman\Protocols\Mqtt, because the name is already in use in 服务器收到数据,需要使用MQTT.转发到其它服务器上,在public static function onMessage($client_id, $message)回调中使用mqtt,出现不能声明的问题。...

hanhuliang 发表与 2020-12-29 1687 浏览 2 回答

hanhuliang

1990
积分
0
获赞数
0
粉丝数
2016-04-19 加入
🔝