feat: add cookie-related API to Message (#491)

Add `Message::getCookie()` and `MethodReply::getReplyCookie()` functions, based on underlying sd-bus cookie functions. They can be useful when pairing method call messages and method call reply messages.

---------

Co-authored-by: Dylan Howey <dylan.howey@evgo.com>
Co-authored-by: Stanislav Angelovič <stanislav.angelovic@protonmail.com>
This commit is contained in:
authored and GitHub committed 2025-05-05 08:04:20 +02:00
1 parent 4389ea39bf
commit 6212b12159
6 files changed
+40

No files matched your search

+2
View File
@@ -50,6 +50,8 @@
namespace sdbus { namespace test {
inline const uint32_t ANY_UNSIGNED_NUMBER{123};
class BaseTestFixture : public ::testing::Test
{
public: