Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
PHPDaemon
SockJS
WebSocketConnectionProxy
onFrame
PHPDaemon\SockJS\WebSocketConnectionProxy::onFrame PHP Method
WebSocketConnectionProxy Class Documentation
Datei anzeigen
Open project: kakserpom/phpdaemon
onFrame()
public
method
Called when new frame received.
public
onFrame
(
string
$data
,
string
$type
) :
boolean
$data
string
Frame's data.
$type
string
Frame's type ("STRING" OR "BINARY").
return
boolean
Success.
public function onFrame($data, $type) { $this->realConn->onFrame($data, $type); }
WebSocketConnectionProxy
__call
__construct
__get
__isset
__set
onFrame
sendFrame
sendFrameReal
toJson