Skip to content

REST WebSocket API

157

This node facilitates a high-performance, bi-directional communication channel between ERGS and external clients via the WebSocket protocol. Unlike standard HTTP requests, which are one-off, a WebSocket stays open, allowing for instantaneous data exchange with extremely low latency.

When to use this node: * Real-Time Interaction: Ideal for tablet-based mini-games where every millisecond counts and you need the interface to react immediately to game events (and vice versa). * Live Streaming Data: Use it to push constant sensor data (like a Geiger counter reading or a countdown timer) to a remote display without the lag of traditional web polling. * Complex JSON Exchange: Perfect for handling rich, structured data updates between the game engine and custom-coded JavaScript applications.

Connectors in

  • response [type: string]
  • responseAction [type: string]

Connectors out

  • process [type: action]
  • request [type: string]

Node properties

  • API name [type: string]
  • responseAction [type: string]
  • responseType [type: string]