~aleteoryx/muditaos

ref: 3bdc27a10428cfd22c1122bd3859f346cba07a7b muditaos/module-services/service-desktop/endpoints/ResponseContext.hpp -rw-r--r-- 400 bytes
3bdc27a1 — Marek Niepieklo [CP-270] Replace CRC32 library 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <json11.hpp>
#include <parser/HttpEnums.hpp>

namespace parserFSM::endpoint
{
    struct ResponseContext
    {
        http::Code status = http::Code::OK;
        json11::Json body = json11::Json();
    };
} // namespace parserFSM::endpoint