Message type IDs for draft-18.
Deliberately separate from the draft-16 constants rather than shared. The
drafts reassign IDs and, more dangerously, reuse them with different
meanings: 0x7 was PUBLISH_NAMESPACE_OK and is now the generic REQUEST_OK,
0x8 was PUBLISH_NAMESPACE_ERROR and is now NAMESPACE, 0xE was
TRACK_STATUS_OK and is now NAMESPACE_DONE, 0xF was TRACK_STATUS_ERROR and is
now PUBLISH_BLOCKED, and SUBSCRIBE_NAMESPACE moved from 0x11 to 0x50. A
shared enum would mis-parse silently instead of failing.
Note the values are var ints, not single bytes: SETUP is 0x2F00.
Properties:
| Name | Value | Type | Description |
|---|---|---|---|
SETUP |
12032 | number | |
GOAWAY |
16 | number | |
SUBSCRIBE |
3 | number | |
SUBSCRIBE_OK |
4 | number | |
PUBLISH |
29 | number | |
PUBLISH_OK |
30 | number | |
PUBLISH_DONE |
11 | number | |
FETCH |
22 | number | |
FETCH_OK |
24 | number | |
TRACK_STATUS |
13 | number | |
PUBLISH_NAMESPACE |
6 | number | |
SUBSCRIBE_NAMESPACE |
80 | number | |
SUBSCRIBE_TRACKS |
81 | number | |
NAMESPACE |
8 | number | |
NAMESPACE_DONE |
14 | number | |
PUBLISH_BLOCKED |
15 | number | |
REQUEST_UPDATE |
2 | number | |
REQUEST_OK |
7 | number | |
REQUEST_ERROR |
5 | number |