Skip to content

Commit e69b7fc

Browse files
add broadcastMessage
1 parent 54667db commit e69b7fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WebSocket.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ namespace WebSocket
1212
/// Handle websocket
1313
void handle();
1414

15+
/// Broadcast a message to all active websocket connections
16+
void broadcastMessage(String msg);
17+
1518
/// Broadcast the current animation status to all active websocket connections
1619
void broadcastStatus();
1720

0 commit comments

Comments
 (0)