Comments (4)
This module is a compatibility module for an older (event-based) API. The "general use" modules are http://npm.im/mqtt-packet and http://npm.im/mqtt.
You can easily build your own using mqtt-packet and generators, we can add a link here if you want :).
from mqtt-connection.
Because I notice that the mosca aslo use this to wrap stream create connection when a req comes in. So I get this idea out... ok, I get your point. I will add a generator polyfill to use it. Thanks for respond :)
from mqtt-connection.
As soon as it is done, Mosca will move to mqtt-packet: see the https://github.com/mcollina/aedes project.
from mqtt-connection.
ok... Maybe I should only use generator on the upper layer with mosca in my application for now. I will keep watching Aedes. Thanks for telling.
from mqtt-connection.
Related Issues (17)
- Server code example lacking event emitters & dropped connection handling HOT 2
- A message delay problem HOT 2
- Still losing message in pingreq or pingresp HOT 1
- async version HOT 1
- how can i use tls to make connection,is there any examples? HOT 1
- What's the meaning of callback?
- Promisify the API if callback is undefined
- Add @types for TypeScript. HOT 1
- How can I connect with specified options based on the 'as server' example? HOT 1
- subscribed client doesn't receive the message from broker HOT 2
- Unresolved variable net
- MQTT 5.0 cannot subscribe: Cannot parse topic HOT 3
- Options in constructor not being saved HOT 1
- 5.0 wrong options set on connack HOT 3
- session present flag
- mqtt messages are received fragmented on client HOT 3
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 mqtt-connection.