PHP Class PHPDaemon\Examples\ExampleWebSocketRoute

Inheritance: extends PHPDaemon\WebSocket\Route
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Méthode Description
handleException ( $e ) : boolean | null Uncaught exception handler
onFrame ( $data, $type ) : void Called when new frame received.

Method Details

handleException() public méthode

Uncaught exception handler
public handleException ( $e ) : boolean | null
$e
Résultat boolean | null Handled?

onFrame() public méthode

Called when new frame received.
public onFrame ( $data, $type ) : void
Résultat void