18 lines
351 B
C++
18 lines
351 B
C++
|
#include "root.h"
|
||
|
|
||
|
Root::Root():
|
||
|
Response(Type::root)
|
||
|
{}
|
||
|
|
||
|
Root::~Root() {}
|
||
|
|
||
|
void Root::writeHeader(std::ostream& out) const {
|
||
|
out << status200Header << newLine;
|
||
|
out << contentTypeHTML << newLine;
|
||
|
out << headerTerminator;
|
||
|
}
|
||
|
|
||
|
void Root::writeBody(std::ostream& out) const {
|
||
|
out << "Hello! This is Birdbadge root page!" << newLine;
|
||
|
}
|