Laravel echo send data when joining channel

后端 未结 0 894
被撕碎了的回忆
被撕碎了的回忆 2021-02-11 01:40

How do I receive data when the client initially joins a channel?

Something like this:

Echo.channel(\'channel-name\')
    .onjoin(function (data) {
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题