~aleteoryx/muditaos

ref: f724d9074ba9cfd662b18d7b9de7fcb18548824b muditaos/module-services/service-desktop/endpoints/ResponseContext.hpp -rw-r--r-- 405 bytes
f724d907 — Adam Dobrowolski [EGD-5701] Added DOM dump to harness 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 <json/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