Comments (1)
In normal circumstances you don't want to close the connection. When opening and starting to listen to a connection PHP will just hang.
I'm thinking the easiest way to shut down a connection is determining with another PHP script which process id is currently listening to twitter and shut that process down when needed.
If I've missed something and you know calling close
is possible and works, feel free to submit a PR that makes the method public. But make sure it works before submitting that PR by editing your own vendor files.
from twitter-streaming-api.
Related Issues (20)
- Expose the phirehose class HOT 1
- Get event for multiple users. HOT 2
- Run on older PHP versions HOT 1
- More Examples HOT 1
- Fix PHP 7.2 warnings HOT 1
- Error in PHP 7.2 HOT 1
- Do not use fennb/phirehose via packagist HOT 1
- Streams will be removed until 19.06.2018 HOT 2
- Connection keeps failing once a day HOT 2
- filters HOT 1
- install without composer HOT 1
- Hears from string and not just on hashtags HOT 1
- multiple job on queue HOT 1
- No works with multiple users ID or Usernames
- Multi user ids not working in whenTweets HOT 1
- Reliability Issues
- Add a new user to array of when hears HOT 1
- Works locally but not in production with no errors
- Event isn't an array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-streaming-api.