FeatureMessageRemoteServer
class FeatureMessageRemoteServer(val connectionConfig: ServerConnectionConfig) : FeatureMessageServer(source)
A server for managing remote feature message communication via server-sent events (SSE) and HTTP endpoints.
Supported features:
Server-sent events (SSE) for messages from a server side;
Provides health check and message handling endpoints via HTTP;
Process messages from clients via /message POST request.
Note: Please make sure you call the start method before starting a communication process.
Functions
Link copied to clipboard
Sends a feature message for further processing or delivery to connected clients via server-sent events (SSE).
Link copied to clipboard
Serializes the current FeatureMessage instance into a JSON string format.