PHP Class PHPDaemon\SockJS\Examples\SimpleRoute

Inheritance: extends PHPDaemon\WebSocket\Route
显示文件 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