From 11a2c78d69878e40a6ebafd00fd543f1f2eab702 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 13 Sep 2021 21:43:18 +0200 Subject: Introduced FormatPackageMessageBuffer() returning a ComositeBuffer --- zenhttp/httpshared.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zenhttp/httpshared.h') 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 FormatPackageMessage(const CbPackage& Data); +CompositeBuffer FormatPackageMessageBuffer(const CbPackage& Data); CbPackage ParsePackageMessage(IoBuffer Payload); } // namespace zen -- cgit v1.2.3