Update to version 3.10.0
This commit is contained in:
@@ -54,8 +54,7 @@ void setup() {
|
||||
AwsFrameInfo *info = (AwsFrameInfo *)arg;
|
||||
String msg = "";
|
||||
if (info->final && info->index == 0 && info->len == len) {
|
||||
if (info->opcode == WS_TEXT) {
|
||||
data[len] = 0;
|
||||
if (info->message_opcode == WS_TEXT) {
|
||||
Serial.printf("ws text: %s\n", (char *)data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user