Method | Description | |
---|---|---|
__construct ( ) | ||
__destruct ( ) | ||
checkConnection ( ) | ||
connect ( $host, $port, $path, $origin = false ) | ||
disconnect ( ) | ||
reconnect ( ) | ||
sendData ( $data, $type = 'text', $masked = true ) |
Method | Description | |
---|---|---|
_generateRandomString ( $length = 10, $addSpaces = true, $addNumbers = true ) | ||
_hybi10Decode ( $data ) | ||
_hybi10Encode ( $payload, $type = 'text', $masked = true ) |