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
Hprose
Swoole
WebSocket
Service
PHP Class Hprose\Swoole\WebSocket\Service
Inheritance:
extends
Hprose\Swoole\Http\Service
Datei anzeigen
Open project: hprose/hprose-swoole
Class Usage Examples
Public Properties
Property
Type
Description
$onAccept
$onClose
Public Methods
Method
Description
__construct
( )
onMessage
(
$server
,
$fd
,
$data
)
wsHandle
(
$server
)
wsPush
(
$server
,
$fd
,
$data
)
*private
Method Details
__construct()
public
method
public
__construct
( )
onMessage()
public
method
public
onMessage
(
$server
,
$fd
,
$data
)
wsHandle()
public
method
public
wsHandle
(
$server
)
wsPush()
public
method
*private
public
wsPush
(
$server
,
$fd
,
$data
)
Property Details
$onAccept
public_oe property
public
$onAccept
$onClose
public_oe property
public
$onClose