28 #ifndef WEBSOCKETPP_SERVER_ENDPOINT_HPP
29 #define WEBSOCKETPP_SERVER_ENDPOINT_HPP
31 #include <websocketpp/endpoint.hpp>
33 #include <websocketpp/logger/levels.hpp>
35 #include <websocketpp/common/system_error.hpp>
43 template <
typename config>
77 #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_
79 server<config>(
server<config> &) =
delete;
82 server<config> & operator=(
server<config>
const &) =
delete;
85 #ifdef _WEBSOCKETPP_MOVE_SEMANTICS_
89 #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_
127 ec = lib::error_code();
144 con->terminate(lib::error_code());
172 "handle_accept error: "+ec.message());
175 "handle_accept error: "+ec.message());
181 lib::error_code start_ec;
182 start_accept(start_ec);
185 "Stopping acceptance of new connections because the underlying transport is no longer listening.");
186 }
else if (start_ec) {
188 "Restarting async_accept loop failed: "+ec.message());