added clean close method

This commit is contained in:
Pasquale Boemio
2013-04-29 17:20:36 +02:00
parent e6fd1fc30e
commit 2b9575c434
5 changed files with 28 additions and 12 deletions
+1
View File
@@ -17,6 +17,7 @@ int main()
ws->poll();
ws->dispatch([](const std::string & message) {
printf(">>> %s\n", message.c_str());
ws->close();
});
}
return 0;