2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20#ifndef NET_IN6_STREAM_LEGACY_SOCKETSERVER_H
21#define NET_IN6_STREAM_LEGACY_SOCKETSERVER_H
25#include "core/socket/stream/legacy/SocketAcceptor.h"
26#include "core/socket/stream/legacy/SocketConnection.h"
27#include "net/in6/stream/SocketServer.h"
28#include "net/in6/stream/legacy/config/ConfigSocketServer.h"
34#ifndef DOXYGEN_SHOULD_SKIP_THIS
38namespace net::in6::stream::legacy {
40 template <
typename SocketContextFactoryT,
typename... Args>
41 using SocketServer = net::in6::stream::SocketServer<core::socket::stream::legacy::SocketAcceptor,
42 net::in6::stream::legacy::config::ConfigSocketServer,
43 SocketContextFactoryT,
50 net::in6::stream::legacy::
config::ConfigSocketServer>;
53 core::socket::
stream::legacy::SocketReader,
54 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)