blob: c1e9e3bf9a9f14c5552f27e2d42e7b975bd4f73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef HTTP_HH
#define HTTP_HH
#include <map>
#include <string>
namespace stuff {
class Http {
public:
static void response(unsigned int status, const std::string& content);
static void response(unsigned int status,
const std::map<std::string,std::string>& headers,
const std::string& content);
private:
Http() = delete;
~Http() = delete;
};
} // namespace stuff
#endif /* HTTP_HH */
|