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
Network
Socket
on_disconnect
Network\Socket::on_disconnect PHP Method
Socket Class Documentation
显示文件
Open project: prggmr/xpspl
on_disconnect()
public
method
Registers a new handle for disconnections.
public
on_disconnect
(
callable
$function
) :
object
$function
callable
Function to call on connect.
return
object
public function on_disconnect($function) { return xp_signal(new SIG_Disconnect($this), $function); }
Socket
__construct
_connect
get_connections
on_connect
on_disconnect
on_error
on_read
on_write
reconnect
routine