Closed tihiydo closed 10 months ago
Your library doesn't work.
try { $client = new Client(Client::engine(Client::CLIENT_4X, "http://45.9.149.230:5255")); $client->initialize(); $client->of('/socket.io'); $client->emit('trader_update', ['uid_link' => $exchanges->uid_link]); sleep(1); $client->close(); } catch (ElephantIO\Exception\ServerConnectionFailureException $e) { echo $e->getErrorMessage(); }
Error
Notice: Undefined property: stdClass::$data in /var/www/api/vendor/elephantio/elephant.io/src/Engine/SocketIO/Version1X.php on line 506 unable to perform namespace confirmation{ "status": true }
Your library doesn't work.
Error
Notice: Undefined property: stdClass::$data in /var/www/api/vendor/elephantio/elephant.io/src/Engine/SocketIO/Version1X.php on line 506
unable to perform namespace confirmation{ "status": true }