Skip to content
Snippets Groups Projects
Select Git revision
  • cd6b115815f8b618b27e2f49a7611de95983f6f4
  • master default protected
2 results

moduwebsocket.h

Blame
  • user avatar
    Yonatan Goldschmidt authored and Damien George committed
    As mentioned in #4450, `websocket` was experimental with a single intended
    user, `webrepl`. Therefore, we'll make this change without a weak
    link `websocket` -> `uwebsocket`.
    bc4f8b43
    History
    moduwebsocket.h 273 B
    #ifndef MICROPY_INCLUDED_EXTMOD_MODUWEBSOCKET_H
    #define MICROPY_INCLUDED_EXTMOD_MODUWEBSOCKET_H
    
    #define FRAME_OPCODE_MASK 0x0f
    enum {
        FRAME_CONT, FRAME_TXT, FRAME_BIN,
        FRAME_CLOSE = 0x8, FRAME_PING, FRAME_PONG
    };
    
    #endif // MICROPY_INCLUDED_EXTMOD_MODUWEBSOCKET_H