elephantio / elephant.io Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tohenk/elephant.io
Send events to a socket.io server through PHP
Home Page: https://elephantio.github.io/elephant.io/
License: MIT License
This project forked from tohenk/elephant.io
Send events to a socket.io server through PHP
Home Page: https://elephantio.github.io/elephant.io/
License: MIT License
Multiple warnings using the library with PHP 8.2+ inside \src\Engine\Store.php
on line 186.
[DEPRECATED] Creation of dynamic property ElephantIO\Engine\Xxxx::$yyyy is deprecated in \vendor\elephantio\elephant.io\src\Engine\Store.php on line 186.
Is it possible to receive events without emitting anything? Currently I believe its like you emit an event and wait for the response? I am seeking a functionality where I am able to receive multiple events without emitting anything from the client side.
Hello,
I am new with websockets/IOSockets. I have a bit on experience using IOSockets in Node and Python but I need to use php as a IOSocket client and elephant.io seems to be what I am looking for.
The question that I have is about how to receive messages when I don't know the content. (any message)
$client->wait('blablabla')
will wait until "blablabla" is receveid but how can I get ANY messages and then check what the message is?
Should I use drain
for that? Is that correct?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.