Move files around

This commit is contained in:
Alex Hultman
2018-09-15 05:04:34 +02:00
parent 527089c621
commit eee6e97fda
13 changed files with 13 additions and 13 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef HTTPRESPONSEDATA_H
#define HTTPRESPONSEDATA_H
/* This data belongs to the HttpResponse */
#include "HttpParser.h"
#include "AsyncSocketData.h"
#include <functional>
namespace uWS {
template <bool SSL>
struct HttpResponseData : HttpParser, AsyncSocketData<SSL> {
// asyncsocketdata will hold the outgoing buffer to hold the header if not sent off in one go
// inStream, outStream
std::function<void(std::string_view)> inStream;
std::function<std::string_view(int)> outStream;
int offset = 0;
// writeHandler
};
}
#endif // HTTPRESPONSEDATA_H