|
Polyphase Game Engine
|
Go to the source code of this file.
Classes | |
| class | WsDecoder |
| struct | WsDecoder::Event |
Macros | |
| #define | WS_OP_CONTINUATION 0x0 |
| #define | WS_OP_TEXT 0x1 |
| #define | WS_OP_BINARY 0x2 |
| #define | WS_OP_CLOSE 0x8 |
| #define | WS_OP_PING 0x9 |
| #define | WS_OP_PONG 0xA |
Functions | |
| POLYPHASE_API void | WsEncodeFrame (uint8_t opcode, const uint8_t *payload, uint32_t size, std::vector< uint8_t > &outBytes) |
| POLYPHASE_API void | WsEncodeClose (uint16_t code, const char *reason, std::vector< uint8_t > &outBytes) |
| POLYPHASE_API void | WsSha1 (const uint8_t *data, uint32_t size, uint8_t outDigest[20]) |
| POLYPHASE_API std::string | WsBase64Encode (const uint8_t *data, uint32_t size) |
| POLYPHASE_API uint32_t | WsRandom32 () |
| #define WS_OP_BINARY 0x2 |
| #define WS_OP_CLOSE 0x8 |
| #define WS_OP_CONTINUATION 0x0 |
| #define WS_OP_PING 0x9 |
| #define WS_OP_PONG 0xA |
| #define WS_OP_TEXT 0x1 |
| POLYPHASE_API std::string WsBase64Encode | ( | const uint8_t * | data, |
| uint32_t | size | ||
| ) |
| POLYPHASE_API void WsEncodeClose | ( | uint16_t | code, |
| const char * | reason, | ||
| std::vector< uint8_t > & | outBytes | ||
| ) |
| POLYPHASE_API void WsEncodeFrame | ( | uint8_t | opcode, |
| const uint8_t * | payload, | ||
| uint32_t | size, | ||
| std::vector< uint8_t > & | outBytes | ||
| ) |
| POLYPHASE_API uint32_t WsRandom32 | ( | ) |
| POLYPHASE_API void WsSha1 | ( | const uint8_t * | data, |
| uint32_t | size, | ||
| uint8_t | outDigest[20] | ||
| ) |