Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3

WebSockets Overview

A The SmartServer uses WebSockets in two ways: a general purpose WebSocket which is used to get datapoint updates and Data Log WebSockets used to get log data.  This section discusses how to develop a Web page using the SmartServer general purpose WebSocket.

The general purpose WebSocket is a persistent connection between your web page and the SmartServer and allows the web page to receive live datapoint updates for subscribed datapoints. For example, the CMS web pages use WebSockets.

...

The WebSocket update format is different from the GET response format, so you need to design your code to support both.

Please read the Prerequisites - Important Design Considerations before starting your own development.

...