2.1.0 • Published 6 months ago

@iotize/device-com-websocket.js v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

IoTize Device Com WebSocket

Installation

Browser

Download latest version or use this link to load from jsdeliver.

<script src="https://cdn.jsdelivr.net/npm/@iotize/device-com-websocket.js@latest/dist/iotize-device-com-websocket.min.js" />

npm

npm install @iotize/device-com-websocket.js

Usage

// Library name: IoTizeDeviceComWebsocket
let websocketProtocol = IoTizeDeviceComWebsocket.WebSocketProtocol({
    url: 'tcp://localhost:2000' // Server url
});

// ...

Typings

Typings are provided with the library.

import { WebSocketProtocol } from '@iotize/device-com-websocket.js';

// ...

For more informations, read the documentation.