Getting Started
This page will help you get started with Meshblu Socket.io. You'll be up and running in a jiffy!
SDKs
- Node.js/Javascript - Most Socket.IO interactions with Meshblu are performed using the NPM module (also available as a browser version). For more information on that library, checkout the project's README on Github.
Core Concepts
In order to connect and use the Websocket API, you must:
- Establish a secure socket.io connection to Meshblu at wss://meshblu-socket-io.octoblu.com.
- Respond to the
identify
challenge event with anidentity
response containing a UUID & Token. - The Meshblu instance will respond with a
ready
event if theidentity
was valid, or anotReady
event if the theidentity was rejected
.
If the ready
event was received, the connection is ready to deliver messages and be queried for information. See the various supported Socket.IO events on the left for more information.
Updated less than a minute ago