Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Askedio
LaravelRatchet
PusherServer
onError
Askedio\LaravelRatchet\PusherServer::onError PHP Method
PusherServer Class Documentation
Mostra file
Open project: askedio/laravel-ratchet
onError()
public
method
If there is an error with one of the sockets, or somewhere in the application where an Exception is thrown, the Exception is sent back down the stack, handled by the Server and bubbled back up the application through this method.
public
onError
(
Ratchet\ConnectionInterface
$conn
,
Exception
$exception
)
$conn
Ratchet\ConnectionInterface
$exception
Exception
public function onError(ConnectionInterface $conn, \Exception $exception) { // }
PusherServer
onCall
onClose
onError
onOpen
onPublish
onSubscribe
onUnSubscribe