description |
Message used to represent information transmitted over a stream. |
Header
Field |
Value |
Description |
Message Type |
0x0A |
Stream Data |
Message Size |
varint |
Remaining Message Length |
Field |
Identifier |
Type |
Mandatory |
Value |
Stream Id |
0x01 |
varint |
Yes |
Stream identifier. |
Parameters |
0x02 |
any |
No |
User-defined parameters associated to the information that can be used for signaling the payload, provide a context, etc. |
Payload |
0x03 |
any |
No |
Current stream payload. |
In thinger.io, clients streaming resources establish the following parameters to help the server identifying the source of information while sending data.
Name |
Value |
Description |
Resource Input |
0x01 |
Stream data represents the input of the stream resource. |
Resource Output |
0x02 |
Stream data represents the output of the stream resource. |