comparison server/r_impl.h @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a4671277546c
1 #ifndef R_SENDER_H
2 #define R_SENDER_H
3
4 #include "web_component.h"
5
6 #include <string>
7
8 /* just sends a recipe */
9 class r_impl final : public web_component
10 {
11 public:
12
13 r_impl(tnt::HttpRequest& request, tnt::HttpReply& reply, const std::string& what);
14 unsigned send() final;
15
16 private:
17
18 std::string m_lang;
19 std::string m_intro;
20 std::string m_body;
21 std::string m_key;
22
23 std::string getMd(const std::string &key, const std::string& f, const std::string &cCurrentPath);
24 };
25
26 #endif