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
Askedio
LaravelRatchet
PusherServer
onClose
Askedio\LaravelRatchet\PusherServer::onClose PHP Method
PusherServer Class Documentation
Datei anzeigen
Open project: askedio/laravel-ratchet
onClose()
public
method
This is called before or after a socket is closed (depends on how it's closed). SendMessage to $conn will not result in an error if it has already been closed.
public
onClose
(
Ratchet\ConnectionInterface
$conn
)
$conn
Ratchet\ConnectionInterface
The socket/connection that is closing/closed
public function onClose(ConnectionInterface $conn) { // }
PusherServer
onCall
onClose
onError
onOpen
onPublish
onSubscribe
onUnSubscribe