Server¶
-
struct Server¶
Public Functions
-
Server() = default¶
-
inline virtual ~Server()¶
-
virtual void close() = 0¶
-
virtual void send_text(std::string_view const&) = 0¶
Public Static Functions
-
static std::unique_ptr<Server> create(Handler&, io::net::tcp::Connection::Factory&)¶
-
struct Config¶
-
struct Disconnected¶
-
struct Handler¶
-
struct Headers¶
-
struct Request¶
-
struct Response¶
Public Members
-
http::Connection connection = {}¶
-
std::string_view sec_websocket_accept¶
-
std::string_view cache_control¶
-
http::ContentType content_type = {}¶
-
std::string_view body¶
-
http::Connection connection = {}¶
-
Server() = default¶