PHP Interface PHPDaemon\WebSocket\RouteInterface

Author: Vasily Zorin ([email protected])
ファイルを表示 Open project: kakserpom/phpdaemon

Public Methods

Method Description
onFrame ( string $data, integer $type ) : void Called when new frame is received

Method Details

onFrame() public method

Called when new frame is received
public onFrame ( string $data, integer $type ) : void
$data string Frame's contents
$type integer Frame's type
return void