2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#ifndef NET_IN6_STREAM_LEGACY_SOCKETSERVER_H
43#define NET_IN6_STREAM_LEGACY_SOCKETSERVER_H
47#include "core/socket/stream/legacy/SocketAcceptor.h"
48#include "core/socket/stream/legacy/SocketConnection.h"
49#include "net/in6/stream/SocketServer.h"
50#include "net/in6/stream/legacy/config/ConfigSocketServer.h"
56#ifndef DOXYGEN_SHOULD_SKIP_THIS
60namespace net::in6::stream::legacy {
62 template <
typename SocketContextFactoryT,
typename... Args>
63 using SocketServer = net::in6::stream::SocketServer<core::socket::stream::legacy::SocketAcceptor,
64 net::in6::stream::legacy::config::ConfigSocketServer,
65 SocketContextFactoryT,
72 net::in6::stream::legacy::
config::ConfigSocketServer>;
75 core::socket::
stream::legacy::SocketReader,
76 core::socket::
stream::legacy::SocketWriter>;
#define APPLICATION(req, res)
static void init(int argc, char *argv[])
static int start(const utils::Timeval &timeOut={LONG_MAX, 0})
int main(int argc, char *argv[])
Router getRouter(const std::string &webRoot)