diff options
| author | cbdev <cb@cbcdn.com> | 2019-06-20 08:19:29 +0200 |
|---|---|---|
| committer | cbdev <cb@cbcdn.com> | 2019-06-20 08:19:29 +0200 |
| commit | e60aa0c5779bce199020236c0ac3a4beace571cb (patch) | |
| tree | 52b5df2816b944ceeeb6bb2762d6e7bd5cea457b /websocksy.h | |
| parent | 303e464579e2fc9961d4d9f4841e916f9aa8963f (diff) | |
| download | websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.gz websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.tar.bz2 websocksy-e60aa0c5779bce199020236c0ac3a4beace571cb.zip | |
Implement additional framing functions (Fixes #3)
Diffstat (limited to 'websocksy.h')
| -rw-r--r-- | websocksy.h | 3 |
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; /* |
