BroadcastAdapter
Table of Contents
Methods
-
broadcast()
: void
-
broadcastToUser()
: void
-
connect()
: void
-
disconnect()
: void
-
isBroadcastingAvailable()
: bool
broadcast()
public
broadcast(string $threadId, BroadcastEvent $event[, array<string|int, mixed> $options = [] ]) : void
Parameters
-
$threadId
: string
-
-
$event
: BroadcastEvent
-
-
$options
: array<string|int, mixed>
= []
-
broadcastToUser()
public
broadcastToUser(string $threadId, string|array<string|int, mixed> $userIds, BroadcastEvent $event[, array<string|int, mixed> $options = [] ]) : void
Parameters
-
$threadId
: string
-
-
$userIds
: string|array<string|int, mixed>
-
-
$event
: BroadcastEvent
-
-
$options
: array<string|int, mixed>
= []
-
connect()
public
connect() : void
disconnect()
public
disconnect() : void
isBroadcastingAvailable()
public
isBroadcastingAvailable(string $threadId) : bool
Parameters
-
$threadId
: string
-