Closed anhldbk closed 8 years ago
In Meshblu 2.0 we have a standard set of jobs across all protocols. To preserve backwards compatibility we support the legacy meshblu API, however we will start exposing the "Job Manager" style APIs to all protocols. We should continue to try and support the native paradigms of each protocol, however the client libraries should have some consistency between them. If you look at the XMPP and AMQP protocol adapters, you can see some examples.
https://github.com/octoblu/meshblu-core-protocol-adapter-xmpp https://github.com/octoblu/meshblu/wiki/Job
@iamruinous Thank you!
Currently,
Meshblu
supports various protocols including HTTP, Websocket, MQTT, CoAP... To work with individual protocols, we must use different APIs.So is it reasonable to unify them into one? For example, here is what I think about the unified APIs: