extmod/modwebsocket.h: Split websocket-related defines for reuse.

This commit is contained in:
Paul Sokolovsky
2016-04-10 13:42:51 +03:00
parent 558fd5d228
commit b69f798c92
2 changed files with 6 additions and 5 deletions

5
extmod/modwebsocket.h Normal file
View File

@@ -0,0 +1,5 @@
#define FRAME_OPCODE_MASK 0x0f
enum {
FRAME_CONT, FRAME_TXT, FRAME_BIN,
FRAME_CLOSE = 0x8, FRAME_PING, FRAME_PONG
};