28 #define BOOST_TEST_MODULE endpoint    29 #include <boost/test/unit_test.hpp>    56     boost::asio::io_service ios;
    60 #ifdef _WEBSOCKETPP_MOVE_SEMANTICS_    87 #endif // _WEBSOCKETPP_MOVE_SEMANTICS_   126     BOOST_CHECK_EQUAL( s.extension_value, 5 );
   127     BOOST_CHECK_EQUAL( s.extension_method(), 5 );
   139     websocketpp::lib::error_code ec;
   144     boost::asio::ip::tcp::endpoint ep1(boost::asio::ip::address::from_string(
"127.0.0.1"), 12345);
   145     boost::asio::ip::tcp::endpoint ep2(boost::asio::ip::address::from_string(
"127.0.0.1"), 23456);
 
lib::error_code make_error_code(error::value e)
 
bool is_server() const
Returns whether or not this endpoint is a server. 
 
core::con_msg_manager_type con_msg_manager_type
 
lib::error_code make_error_code(error::value e)
Create an error code with the given value and the asio transport category. 
 
core::message_type message_type
 
core::transport_type transport_type
 
stub_config::con_msg_manager_type con_msg_manager_type
 
core::elog_type elog_type
 
void init_asio(io_service_ptr ptr, lib::error_code &ec)
initialize asio transport with external io_service (exception free) 
 
core::endpoint_msg_manager_type endpoint_msg_manager_type
 
BOOST_AUTO_TEST_CASE(construct_server_iostream)
 
Server endpoint role based on the given config. 
 
there was an error in the underlying transport library 
 
core::alog_type alog_type
 
core::concurrency_type concurrency_type
 
core::request_type request_type
 
endpoint_extension endpoint_base
 
core::response_type response_type
 
void listen(lib::asio::ip::tcp::endpoint const &ep, lib::error_code &ec)
Set up endpoint for listening manually (exception free) 
 
Server config with iostream transport.