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 WEB_HTTP_LEGACY_UN_SERVER_H
43#define WEB_HTTP_LEGACY_UN_SERVER_H
45#include "net/un/stream/legacy/SocketServer.h"
46#include "web/http/server/Response.h"
47#include "web/http/server/Server.h"
49#ifndef DOXYGEN_SHOULD_SKIP_THIS
53namespace web::http::legacy::
un {
55 using Server = web::http::
server::
Server<net::un::stream::legacy::SocketServer>;
Config & getConfig() const
static constexpr int DISABLED
static constexpr int ERROR
static constexpr int FATAL
void listen(const std::function< void(const SocketAddress &, core::socket::State)> &onStatus) const
std::list< std::string > getRoutes() const
WebAppT(const std::string &name, const Router &router)
std::string toString(bool expanded=true) const override
WebApp Server(const std::string &instanceName, const Router &router, const std::function< void(WebApp::Config &)> &configurator)
WebApp Server(const std::string &instanceName, const express::Router &router, const std::function< void(const std::string &, WebApp::SocketAddress, const core::socket::State &)> &reportState, const std::function< void(typename WebApp::Config &)> &configurator)