~aleteoryx/muditaos

ref: afe316f82510f10aa88ecaba4c3173291613dccb muditaos/module-services/service-desktop/endpoints/developerMode/Mode/UpdateHelper.hpp -rw-r--r-- 581 bytes
afe316f8 — Marcin Smoczyński Merge branch 'stable' - release v0.74.1 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 <endpoints/Context.hpp>
#include <Service/Common.hpp>
#include <endpoints/BaseHelper.hpp>

namespace parserFSM
{

    class UpdateHelper : public BaseHelper
    {

      public:
        explicit UpdateHelper(sys::Service *p) : BaseHelper(p)
        {}

        auto processPost(Context &context) -> ProcessResult final;
        void preProcess(http::Method method, Context &context) final;
    };
} // namespace parserFSM