NAWA
0.9
Web Application Framework for C++
ConnectionInitContainer.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019-2022 Tobias Flaig.
3
*
4
* This file is part of nawa.
5
*
6
* nawa is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Lesser General Public License,
8
* version 3, as published by the Free Software Foundation.
9
*
10
* nawa is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with nawa. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
24
#ifndef NAWA_CONNECTIONINITCONTAINER_H
25
#define NAWA_CONNECTIONINITCONTAINER_H
26
27
#include <
nawa/config/Config.h
>
28
#include <
nawa/connection/FlushCallbackContainer.h
>
29
#include <
nawa/request/RequestInitContainer.h
>
30
31
namespace
nawa
{
35
struct
ConnectionInitContainer
{
39
FlushCallbackFunction
flushCallback
;
40
Config
config
;
41
RequestInitContainer
requestInit
;
42
};
43
}
// namespace nawa
44
45
#endif
//NAWA_CONNECTIONINITCONTAINER_H
Config.h
Reader for config files and accessor to config values.
FlushCallbackContainer.h
Internal container passed to flush callback functions.
RequestInitContainer.h
Container used by request handlers to initiate the nawa::Request object.
nawa::Config
Definition:
Config.h:35
nawa
Definition:
AppInit.h:31
nawa::FlushCallbackFunction
std::function< void(FlushCallbackContainer)> FlushCallbackFunction
Definition:
FlushCallbackContainer.h:55
nawa::ConnectionInitContainer::config
Config config
Definition:
ConnectionInitContainer.h:40
nawa::ConnectionInitContainer::requestInit
RequestInitContainer requestInit
Definition:
ConnectionInitContainer.h:41
nawa::ConnectionInitContainer::flushCallback
FlushCallbackFunction flushCallback
Definition:
ConnectionInitContainer.h:39
nawa::ConnectionInitContainer
Definition:
ConnectionInitContainer.h:35
nawa::RequestInitContainer
Definition:
RequestInitContainer.h:36
internal
nawa
connection
ConnectionInitContainer.h
Generated by
1.9.2