Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Aerys
Websocket
onData
Aerys\Websocket::onData PHP Method
Websocket Interface Documentation
ファイルを表示
Open project: amphp/aerys
onData()
public
method
Invoked when data messages arrive from the client
public
onData
(
integer
$clientId
,
Websocket\Message
$msg
)
$clientId
integer
A unique (to the current process) identifier for this client
$msg
Websocket\Message
A stream of data received from the client
public function onData(int $clientId, Websocket\Message $msg);
Websocket
onClose
onData
onHandshake
onOpen
onStart
onStop