how to implement private channels in laravel sockets

0

Hi, I'm trying to implement a private channel for sockets with laravel and the events of these same

Along with redis | laravel echo server and Vue

my event works perfect my channel is public

but I do not know how I should configure my private channel

because currently if someone publishes something that information appears to me even if he does not have it in my friends / follow it / Or if that category to which that publication belongs does not belong to me.

In summary: How do I limit my publications according to a public?

Another example: If I'm only interested in the category of Cars  I should only see publications in that category. Unfortunately if someone uploads something with category of "Aircraft" to me that publication will come out.

I hope I can understand. Regarding how to configure my private sockets for a specific public according to my "Registries of my Base"

    
asked by Alex Burke Cooper 01.10.2018 в 08:05
source

0 answers