src/Ratchet/Server/IoServer.php
public function handleData($data, $conn) {
        try {
            $this->app->onMessage($conn->decor, $data);
        } catch (\Exception $e) {
            $this->handleError($e, $conn);
        }
    }
public function handleData($data, $conn) {
        try {
            $this->app->onMessage($conn->decor, $data);
        } catch (\Exception $e) {
            $this->handleError($e, $conn);
        }
    }
public function handleData ( $ data , $ conn ) { try { $ this -> app -> onMessage ( $ conn -> decor , $ data ) ; } catch ( \ Exception $ e ) { $ this -> handleError ( $ e , $ conn ) ; } }
Data has been received from React
@param string                            $data
@param \React\Socket\ConnectionInterface $conn
Data has been received from React