Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
PHPDaemon
WebSocket
RouteInterface
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