当用户连接到推送器时,无法读取推送器私有通道中发送的数据

问题描述 投票:0回答:0

用户连接到推送器但未订阅私人频道并且数据随事件发送到私人频道并且无法访问它。

这是我在 Laravel 中的活动: BlogCreatedEvent in Laravel

这是我在 Laravel 中的频道: channel in channels.php

这是我收听此频道的代码: listen code

这是我在推送器调试控制台中得到的: pusher debug console

所以你可以看到我连接到推送器但是当我发送事件时我无法读取此事件中的数据!! 谁能解释一下?

laravel nuxt.js pusher channels laravel-events
© www.soinside.com 2019 - 2024. All rights reserved.