ChannelAdapter是如何用的,它的作用時什么,如何應(yīng)用?
以下面的代碼會報錯
$io = new SocketIO(9505, [
'adapter' => ChannelAdapter::class,
]);
Exception 'Exception' with message 'Channel\Client not support subscribe method when it is not in the workerman environment.'
in /vendor/workerman/channel/src/Client.php:369