public onMessage ( Ratchet\ConnectionInterface $conn, $input ) | ||
$conn | Ratchet\ConnectionInterface |
public function onMessage(ConnectionInterface $conn, $input)
{
parent::onMessage($conn, $input);
if (!$this->throttled) {
$this->send($conn, sprintf('- %s', $input));
}
}