Fix up unsubscribeAll

This commit is contained in:
Alex Hultman
2019-10-07 11:58:02 +02:00
parent d09f25850b
commit 6c7844d65f
6 changed files with 122 additions and 276 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ struct WebSocketContextData {
//std::cout << "Skickar data: " << data << " på sub: " << s << std::endl;
auto *asyncSocket = (AsyncSocket<SSL> *) s;
auto *asyncSocket = (AsyncSocket<SSL> *) s->user;
asyncSocket->write(data.data(), data.length());