Whoops forgot that one
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#define UWS_H3RESPONSEDATA_H
|
#define UWS_H3RESPONSEDATA_H
|
||||||
|
|
||||||
#include "MoveOnlyFunction.h"
|
#include "MoveOnlyFunction.h"
|
||||||
|
#include "AsyncSocketData.h"
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|
||||||
namespace uWS {
|
namespace uWS {
|
||||||
@@ -9,12 +10,15 @@ namespace uWS {
|
|||||||
|
|
||||||
MoveOnlyFunction<void()> onAborted = nullptr;
|
MoveOnlyFunction<void()> onAborted = nullptr;
|
||||||
MoveOnlyFunction<void(std::string_view, bool)> onData = nullptr;
|
MoveOnlyFunction<void(std::string_view, bool)> onData = nullptr;
|
||||||
|
MoveOnlyFunction<bool(uintmax_t)> onWritable = nullptr;
|
||||||
|
|
||||||
// hasWrittenStatus
|
/* Status is always first header just like for h1 */
|
||||||
|
unsigned int headerOffset = 0;
|
||||||
std::string buffer;
|
|
||||||
int bufferOffset = 0;
|
/* Write offset */
|
||||||
|
uintmax_t offset = 0;
|
||||||
|
|
||||||
|
BackPressure backpressure;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user