aboutsummaryrefslogtreecommitdiff
path: root/websocksy.h
diff options
context:
space:
mode:
Diffstat (limited to 'websocksy.h')
-rw-r--r--websocksy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/websocksy.h b/websocksy.h
index b2b2285..9d9faf1 100644
--- a/websocksy.h
+++ b/websocksy.h
@@ -36,7 +36,8 @@ typedef enum {
ws_frame_binary = 2,
ws_frame_close = 8,
ws_frame_ping = 9,
- ws_frame_pong = 10
+ ws_frame_pong = 10,
+ ws_frame_discard /* Special opcode to discard bytes from the peer buffer */
} ws_operation;
/*