Skip to content

Commit

Permalink
add broadcastMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra authored Apr 7, 2024
1 parent 54667db commit e69b7fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ namespace WebSocket
/// Handle websocket
void handle();

/// Broadcast a message to all active websocket connections
void broadcastMessage(String msg);

/// Broadcast the current animation status to all active websocket connections
void broadcastStatus();

Expand Down

0 comments on commit e69b7fc

Please sign in to comment.