Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 575 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 575 Bytes

fty-rest

How to build

To build, run:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=usr -DBUILD_TESTING=On ..
make
sudo make install

Protocols

STREAM DELIVER

SSE generic message

The SSE servlet consumes generic messages on the STREAM-DELIVER stream.

The message subject must be "SSE".

The message shall be frame formated as:

TOPIC/JSON_PAYLOAD[/ASSET_INAME]

where:

  • TOPIC is a topic identifier
  • JSON_PAYLOAD is a JSON well-formed object
  • ASSET_INAME is an asset internal name (optional frame)