InteractsWithPresenceChannels
trait InteractsWithPresenceChannels
Traits
Methods
void
subscribe(Connection $connection, string|null $auth = null, string|null $data = null, string|null $userId = null)
Subscribe to the given channel.
bool
verify(Connection $connection, string|null $auth = null, string|null $data = null)
Determine whether the given authentication token is valid.
void
array
data()
Get the data associated with the channel.
Details
at line 22
void
subscribe(Connection $connection, string|null $auth = null, string|null $data = null, string|null $userId = null)
Subscribe to the given channel.
in
InteractsWithPrivateChannels at line 34
protected bool
verify(Connection $connection, string|null $auth = null, string|null $data = null)
Determine whether the given authentication token is valid.
at line 88
void
unsubscribe(Connection $connection, string|null $userId = null)
Unsubscribe from the given channel.
at line 142
array
data()
Get the data associated with the channel.