Carry over backpressure from Http to WS

This commit is contained in:
Alex Hultman
2019-01-24 11:53:10 +01:00
parent e653e9d314
commit a0eeb769c9
5 changed files with 19 additions and 14 deletions
+8
View File
@@ -26,6 +26,14 @@ template <bool SSL>
struct AsyncSocketData {
/* This will do for now */
std::string buffer;
/* Allow move constructing us */
AsyncSocketData(std::string &&backpressure) : buffer(std::move(backpressure)) {
}
/* Or emppty */
AsyncSocketData() = default;
};
#endif // ASYNCSOCKETDATA_H