Web Sockets: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 January 2026

  • curprev 11:1811:18, 29 January 2026 Jasx talk contribs 3,318 bytes +3,318 Created page with "If you want to control the level directly from an app by sending many update requests every second, you can use the websocket API. In this code we'll use the device id "JasTestBullet", replace that with your own. == Install socket.io == Add the socket.io client to your website in your preferred fashion (such as NPM or websockets). After the page loads, connect to the socket: let socket = io('<nowiki>https://vibhub.io'</nowiki>); socket.on('connect', () => { // CO..." Tag: Visual edit