PHP Class PHPDaemon\Examples\ExampleWebSocketRoute

Inheritance: extends PHPDaemon\WebSocket\Route
Datei anzeigen Open project: kakserpom/phpdaemon

Public Methods

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

Method Details

handleException() public method

Uncaught exception handler
public handleException ( $e ) : boolean | null
$e
return boolean | null Handled?

onFrame() public method

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