ChannelConnection
class ChannelConnection
Methods
Get the underlying connection.
Get the connection data.
Send a message to the connection.
Proxy the given method to the underlying connection.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 35
__construct(Connection $connection, array $data = [])
Create a new channel connection instance.
at line 44
Connection
connection()
Get the underlying connection.
at line 52
mixed
data(string|null $key = null)
Get the connection data.
at line 60
void
send(string $message)
Send a message to the connection.
at line 68
mixed
__call(string $method, array $parameters)
Proxy the given method to the underlying connection.
at line 30
string
id()
No description
at line 30
string
identifier()
No description
at line 30
Application
app()
No description
at line 30
void
ping()
No description
at line 30
void
pong()
No description
at line 30
static void
setLastSeenAt(int $time)
No description
at line 30
static void
touch()
No description
at line 30
void
disconnect()
No description
at line 30
bool
isActive()
No description
at line 30
bool
isInactive()
No description
at line 30
bool
isStale()
No description
at line 30
bool
usesControlFrames()
No description
at line 30
static void
setUsesControlFrames(bool $usesControlFrames = 'true')
No description
at line 30
void
terminate()
No description
at line 30
void
control(int $opcode)
No description