first steps to allow sending continuation frame

This commit is contained in:
Markus Sattler
2015-06-17 10:27:01 +02:00
parent d5c3e17a25
commit 1a533cd15c
2 changed files with 13 additions and 8 deletions

View File

@ -106,7 +106,7 @@ class WebSockets {
virtual void messageRecived(WSclient_t * client, WSopcode_t opcode, uint8_t * payload, size_t length);
void clientDisconnect(WSclient_t * client, uint16_t code, char * reason = NULL, size_t reasonLen = 0);
void sendFrame(WSclient_t * client, WSopcode_t opcode, uint8_t * payload = NULL, size_t length = 0, bool mask = false);
void sendFrame(WSclient_t * client, WSopcode_t opcode, uint8_t * payload = NULL, size_t length = 0, bool mask = false, bool fin = true);
void handleWebsocket(WSclient_t * client);