Integration Options

Overview

Client Gateway offers a user interface for managing topics and channels, as well as for sending and receiving data; however, these functions can also be performed using REST APIs. Additionally, two-way interactive communication between senders and receivers can also be achieved using the WebSocket APIs.


User Guide

Pre-requisites

  • Authorization to Client Gateway

HTTP API

Navigate to Client Gateway Swagger to see the available REST API collection

Integration APIs
Client Gateway Swagger

Sending Requests and Consuming Data (example)

circle-info

This example uses axios library to demonstrate requests.

WebSocket API

Unlike REST APIs, which require separate requests for each interaction, WebSockets allow continuous, two-way communication — ideal for real-time messaging. Navigate to Web Socket API for DDHub Gateway Web Socket API 1.0.0

Integration APIs
WebSocket API documentation

Connecting

Please ensure to use Sec-WebSocket-Protocol : ddhub-protocol in the header

Sending a WS Message (example)

Consuming a WS Message

Last updated