Crow
1.1
A C++ microframework for the web
Loading...
Searching...
No Matches
returnable.h
1
#pragma once
2
3
#include <string>
4
5
namespace
crow
6
{
7
/// An abstract class that allows any other class to be returned by a handler.
8
struct
returnable
9
{
10
std::string content_type;
11
virtual
std::string dump()
const
= 0;
12
13
returnable(std::string ctype):
14
content_type{ctype}
15
{}
16
17
virtual
~returnable(){}
18
};
19
}
// namespace crow
crow
The main namespace of the library. In this namespace is defined the most important classes and functi...
include
crow
returnable.h
Generated on
for Crow by
1.15.0. Dark theme by
Tilen Majerle
. Edited by
Farook Al-Sammarraie
. All rights reserved.