10000 Simplified example · faraday-motion/arduinoWebSockets@fcb623c · GitHub
[go: up one dir, main page]

Skip to content

Commit fcb623c

Browse files
committed
Simplified example
1 parent 669f0b4 commit fcb623c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/WebSocketClientSockJsAndStomp/WebSocketClientSockJsAndStomp.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void webSocketEvent(WStype_t type, uint8_t * payload, size_t length) {
8282

8383
// and send a message
8484

85-
msg = "[\"SEND\\ndestination:/app/message\\ncontent-length:33\\n\\n{\\\"user\\\":\\\"esp\\\",\\\"message\\\":\\\"Hello!\\\"}\\u0000\"]";
85+
msg = "[\"SEND\\ndestination:/app/message\\n\\n{\\\"user\\\":\\\"esp\\\",\\\"message\\\":\\\"Hello!\\\"}\\u0000\"]";
8686
webSocket.sendTXT(msg);
8787
delay(1000);
8888
}

0 commit comments

Comments
 (0)
0