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 20
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 26
protected bool
verify(Connection $connection, string|null $auth = null, string|null $data = null)
Determine whether the given authentication token is valid.
at line 78
void
unsubscribe(Connection $connection, string|null $userId = null)
Unsubscribe from the given channel.
at line 125
array
data()
Get the data associated with the channel.