mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds lowercase synonyms for some constants
This commit is contained in:
@@ -64,6 +64,23 @@ union uint64_converter {
|
||||
// WebSocket Opcodes are 4 bits. See spec section 5.2
|
||||
namespace opcode {
|
||||
enum value {
|
||||
continuation = 0x0,
|
||||
text = 0x1,
|
||||
binary = 0x2,
|
||||
rsv3 = 0x3,
|
||||
rsv4 = 0x4,
|
||||
rsv5 = 0x5,
|
||||
rsv6 = 0x6,
|
||||
rsv7 = 0x7,
|
||||
close = 0x8,
|
||||
ping = 0x9,
|
||||
pong = 0xA,
|
||||
control_rsvb = 0xB,
|
||||
control_rsvc = 0xC,
|
||||
control_rsvd = 0xD,
|
||||
control_rsve = 0xE,
|
||||
control_rsvf = 0xF,
|
||||
|
||||
CONTINUATION = 0x0,
|
||||
TEXT = 0x1,
|
||||
BINARY = 0x2,
|
||||
|
||||
Reference in New Issue
Block a user