PHP Interface PHPDaemon\WebSocket\RouteInterface

Author: Vasily Zorin ([email protected])
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

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

Method Details

onFrame() public méthode

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