Actually put headers, content-length and status in response

This commit is contained in:
Alex Hultman
2018-06-24 01:27:40 +02:00
parent a2fe871e63
commit 0cbccaf08e
5 changed files with 77 additions and 50 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ public:
}
// for client and server
AppBase &onWebSocket(std::function<void()> handler) {
AppBase &onWebSocket(std::string pattern, std::function<void()> handler) {
return *this;
}