WebSocket notification

This commit is contained in:
stephb9959
2022-04-27 15:26:24 -07:00
parent 77585630c0
commit 6fd6aea01e

View File

@@ -63,6 +63,7 @@ namespace OpenWifi {
uint64_t Sent=0;
for(const auto &client:Clients_) {
std::cout << "WebSocket notification: " << Payload << std::cout ;
if(client.second.second == UserName) {
if(client.second.first->Send(Payload))
Sent++;