class ClientEvent extends Event

Class ClientEvent

Constants

CONNECTED

DISCONNECTED

ERROR

REJECTED

Properties

protected ConnectionInterface $connection
protected int $type

Methods

__construct(ConnectionInterface $connection, int $type)

No description

ConnectionInterface
getConnection()

No description

int
getType()

No description

Details

at line 30
__construct(ConnectionInterface $connection, int $type)

Parameters

ConnectionInterface $connection
int $type

at line 38
ConnectionInterface getConnection()

Return Value

ConnectionInterface

at line 45
int getType()

Return Value

int