Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
PHPDaemon
SockJS
TestRelay
EchoFeed
PHP Class PHPDaemon\SockJS\TestRelay\EchoFeed
Author:
Vasily Zorin (
[email protected]
)
Inheritance:
extends
PHPDaemon\WebSocket\Route
Mostra file
Open project: kakserpom/phpdaemon
Public Methods
Method
Description
onFrame
(
string
$data
,
integer
$type
) :
void
Called when new frame received
Method Details
onFrame()
public
method
Called when new frame received
public
onFrame
(
string
$data
,
integer
$type
) :
void
$data
string
Frame's contents
$type
integer
Frame's type
return
void