mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 19:17:47 +00:00
WebSocket notification
This commit is contained in:
@@ -63,7 +63,7 @@ namespace OpenWifi {
|
|||||||
uint64_t Sent=0;
|
uint64_t Sent=0;
|
||||||
|
|
||||||
for(const auto &client:Clients_) {
|
for(const auto &client:Clients_) {
|
||||||
std::cout << "WebSocket notification: " << Payload << std::cout ;
|
std::cout << "WebSocket notification: " << Payload << std::endl ;
|
||||||
if(client.second.second == UserName) {
|
if(client.second.second == UserName) {
|
||||||
if(client.second.first->Send(Payload))
|
if(client.second.first->Send(Payload))
|
||||||
Sent++;
|
Sent++;
|
||||||
|
|||||||
Reference in New Issue
Block a user