SocketPushService
interface SocketPushService
Methods
mixed
broadcast(array $data, string $event, string $namespace = '')
广播
mixed
emit(string $event, array $users, array $data, string $namespace = '')
发送信息
bool
hasClient(string $uid)
是否有客户端
Details
at line 15
mixed
broadcast(array $data, string $event, string $namespace = '')
广播
at line 25
mixed
emit(string $event, array $users, array $data, string $namespace = '')
发送信息
at line 32
bool
hasClient(string $uid)
是否有客户端