aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpshared.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-13 21:43:18 +0200
committerStefan Boberg <[email protected]>2021-09-13 21:43:18 +0200
commit11a2c78d69878e40a6ebafd00fd543f1f2eab702 (patch)
tree32f55acba3b44b9d7d9e800643e39c3f41d33edf /zenhttp/httpshared.h
parentChanged explicit http status checking into IsHttpSuccessCode() call (diff)
downloadzen-11a2c78d69878e40a6ebafd00fd543f1f2eab702.tar.xz
zen-11a2c78d69878e40a6ebafd00fd543f1f2eab702.zip
Introduced FormatPackageMessageBuffer() returning a ComositeBuffer
Diffstat (limited to 'zenhttp/httpshared.h')
-rw-r--r--zenhttp/httpshared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenhttp/httpshared.h b/zenhttp/httpshared.h
index fbf35076b..e7c9e4a56 100644
--- a/zenhttp/httpshared.h
+++ b/zenhttp/httpshared.h
@@ -8,6 +8,7 @@ namespace zen {
class IoBuffer;
class CbPackage;
+class CompositeBuffer;
struct CbPackageHeader
{
@@ -31,6 +32,7 @@ struct CbAttachmentEntry
static_assert(sizeof(CbAttachmentEntry) == 32);
std::vector<IoBuffer> FormatPackageMessage(const CbPackage& Data);
+CompositeBuffer FormatPackageMessageBuffer(const CbPackage& Data);
CbPackage ParsePackageMessage(IoBuffer Payload);
} // namespace zen