ws.printf(id, "%s", cmdString.c_str());
but nothing is being received at the client ... it works fine when I replace ws.printf() function with the ws.printfAll() function ... i'm able to use client->printf() while in the event handler ...
AsyncWebSocket ws("/ws");
void processCommand(String cmdString, uint32_t id);
processCommand(msg, client->id());
ws.printf(id, "%s", cmdString.c_str()); <-- Doesn't work
ws.printfAll("%s", cmdString.c_str()); <-- Works
am I missing something?