/dports/devel/websocketpp/websocketpp-0.8.2/test/transport/iostream/ |
H A D | connection.cpp | 65 , ec(websocketpp::error::make_error_code(websocketpp::error::test)) in stub_con() 78 websocketpp::lib::bind( in write() 89 websocketpp::lib::bind( in write() 103 websocketpp::lib::bind( in async_read_at_least() 129 websocketpp::lib::bind( in indef_read() 147 websocketpp::lib::bind( in shutdown() 159 websocketpp::lib::error_code ec; 206 websocketpp::lib::error_code vector_write_handler(std::string & o, websocketpp::connection_hdl, std… in vector_write_handler() 215 websocketpp::lib::error_code write_handler_error(websocketpp::connection_hdl, char const *, size_t)… in write_handler_error() 225 websocketpp::lib::ref(output), in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/message_buffer/ |
H A D | pool.cpp | 40 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 42 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() 53 websocketpp::uri_ptr u; in BOOST_AUTO_TEST_CASE() 79 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 80 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() 93 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 94 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() 108 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() 122 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() 136 …websocketpp::processor::hybi00<websocketpp::http::parser::request,websocketpp::http::parser::respo… in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/transport/ |
H A D | integration.cpp | 131 typedef websocketpp::server<websocketpp::config::core> iostream_server; 132 typedef websocketpp::client<websocketpp::config::core_client> iostream_client; 136 using websocketpp::lib::bind; 187 websocketpp::lib::lock_guard<websocketpp::lib::mutex> lock(*mutex); in run_client_and_mark() 209 websocketpp::lib::thread tthread(websocketpp::lib::bind( in run_time_limited_client() 400 websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); in BOOST_AUTO_TEST_CASE() 426 websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); in BOOST_AUTO_TEST_CASE() 445 websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_dummy_server,9005)); in BOOST_AUTO_TEST_CASE() 464 websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); in BOOST_AUTO_TEST_CASE() 568 websocketpp::lib::lock_guard<websocketpp::lib::mutex> lock(mutex); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/transport/asio/ |
H A D | timers.cpp | 92 typedef websocketpp::log::stub alog_type; 93 typedef websocketpp::log::stub elog_type; 110 context_ptr on_tls_init(websocketpp::connection_hdl) { in on_tls_init() 124 websocketpp::lib::placeholders::_1)); in start() 154 websocketpp::uri_ptr uri(new websocketpp::uri(u)); in connect() 162 websocketpp::lib::bind( in connect() 166 websocketpp::lib::placeholders::_1 in connect() 178 websocketpp::lib::shared_ptr<config::alog_type> alog; 179 websocketpp::lib::shared_ptr<config::elog_type> elog; 183 websocketpp::lib::thread dummy_server(websocketpp::lib::bind(&run_dummy_server,9005)); in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | security.cpp | 40 websocketpp::lib::error_code test() { in test() 41 return this->translate_ec(websocketpp::lib::asio::error_code()); in test() 46 dummy_con<websocketpp::transport::asio::basic_socket::connection> tscon; in BOOST_AUTO_TEST_CASE() 51 …if(websocketpp::lib::is_same<websocketpp::lib::error_code,websocketpp::lib::asio::error_code>::val… in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_EQUAL( tscon.test(), websocketpp::lib::error_code() ); in BOOST_AUTO_TEST_CASE() 54 …BOOST_CHECK_EQUAL( tscon.test(), websocketpp::transport::error::make_error_code(websocketpp::trans… in BOOST_AUTO_TEST_CASE() 59 dummy_con<websocketpp::transport::asio::tls_socket::connection> tscon; in BOOST_AUTO_TEST_CASE() 64 …if(websocketpp::lib::is_same<websocketpp::lib::error_code,websocketpp::lib::asio::error_code>::val… in BOOST_AUTO_TEST_CASE() 65 BOOST_CHECK_EQUAL( tscon.test(), websocketpp::lib::error_code() ); in BOOST_AUTO_TEST_CASE() 67 …BOOST_CHECK_EQUAL( tscon.test(), websocketpp::transport::error::make_error_code(websocketpp::trans… in BOOST_AUTO_TEST_CASE()
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/logger/ |
H A D | basic.cpp | 37 typedef websocketpp::log::basic<websocketpp::concurrency::basic,websocketpp::log::alevel> basic_acc… 40 …typedef websocketpp::log::basic<websocketpp::concurrency::none,websocketpp::log::elevel> error_log; in BOOST_AUTO_TEST_CASE() 49 elog.set_channels(websocketpp::log::elevel::info); in BOOST_AUTO_TEST_CASE() 52 elog.write(websocketpp::log::elevel::warn,"A warning"); in BOOST_AUTO_TEST_CASE() 53 elog.write(websocketpp::log::elevel::rerror,"A error"); in BOOST_AUTO_TEST_CASE() 58 …typedef websocketpp::log::basic<websocketpp::concurrency::none,websocketpp::log::alevel> access_lo… in BOOST_AUTO_TEST_CASE() 67 logger.write(websocketpp::log::alevel::devel,"devel"); in BOOST_AUTO_TEST_CASE() 73 …typedef websocketpp::log::basic<websocketpp::concurrency::basic,websocketpp::log::alevel> access_l… in BOOST_AUTO_TEST_CASE() 80 logger.write(websocketpp::log::alevel::devel,"devel"); in BOOST_AUTO_TEST_CASE() 93 logger2.write(websocketpp::log::alevel::devel,"devel"); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/processors/ |
H A D | hybi08.cpp | 43 typedef websocketpp::http::parser::request request_type; 44 typedef websocketpp::http::parser::response response_type; 46 typedef websocketpp::message_buffer::message 75 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 86 websocketpp::uri_ptr u; in BOOST_AUTO_TEST_CASE() 109 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 127 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 145 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 163 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 181 websocketpp::uri_ptr u; in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | hybi07.cpp | 43 typedef websocketpp::http::parser::request request_type; 44 typedef websocketpp::http::parser::response response_type; 46 typedef websocketpp::message_buffer::message 65 typedef websocketpp::extensions::permessage_deflate::disabled 75 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 86 websocketpp::uri_ptr u; in BOOST_AUTO_TEST_CASE() 109 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 127 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 145 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 163 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() [all …]
|
H A D | processor.cpp | 38 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 44 BOOST_CHECK(websocketpp::processor::is_websocket_handshake(r)); in BOOST_AUTO_TEST_CASE() 48 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 58 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 68 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 78 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 88 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 98 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 108 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 118 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/examples/telemetry_client/ |
H A D | telemetry_client.cpp | 28 typedef websocketpp::client<websocketpp::config::asio_client> client; 29 typedef websocketpp::lib::lock_guard<websocketpp::lib::mutex> scoped_lock; 42 using websocketpp::lib::placeholders::_1; in telemetry_client() 43 using websocketpp::lib::bind; in telemetry_client() 52 websocketpp::lib::error_code ec; in run() 79 void on_open(websocketpp::connection_hdl) { in on_open() 88 void on_close(websocketpp::connection_hdl) { in on_close() 97 void on_fail(websocketpp::connection_hdl) { in on_fail() 108 websocketpp::lib::error_code ec; in telemetry_loop() 151 websocketpp::connection_hdl m_hdl; [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/connection/ |
H A D | connection.cpp | 130 static const websocketpp::log::level elog_level = websocketpp::log::elevel::none; 131 static const websocketpp::log::level alog_level = websocketpp::log::alevel::none; 140 websocketpp::lib::error_code ec; 188 websocketpp::connection_hdl hdl) in check_on_fail() 222 output+=websocketpp::user_agent; in BOOST_AUTO_TEST_CASE() 234 output+=websocketpp::user_agent; in BOOST_AUTO_TEST_CASE() 246 output+=websocketpp::user_agent; in BOOST_AUTO_TEST_CASE() 355 websocketpp::lib::error_code ec = make_error_code(websocketpp::error::http_parse_error); in BOOST_AUTO_TEST_CASE() 367 websocketpp::lib::error_code ec = make_error_code(websocketpp::error::invalid_version); in BOOST_AUTO_TEST_CASE() 379 websocketpp::lib::error_code ec = make_error_code(websocketpp::error::unsupported_version); in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/endpoint/ |
H A D | endpoint.cpp | 38 websocketpp::server<websocketpp::config::core> s; in BOOST_AUTO_TEST_CASE() 42 websocketpp::server<websocketpp::config::asio> s; in BOOST_AUTO_TEST_CASE() 46 websocketpp::server<websocketpp::config::asio_tls> s; in BOOST_AUTO_TEST_CASE() 50 websocketpp::server<websocketpp::config::asio> s; in BOOST_AUTO_TEST_CASE() 55 websocketpp::server<websocketpp::config::asio> s; in BOOST_AUTO_TEST_CASE() 62 websocketpp::server<websocketpp::config::core> s1; in BOOST_AUTO_TEST_CASE() 64 websocketpp::server<websocketpp::config::core> s2(std::move(s1)); in BOOST_AUTO_TEST_CASE() 124 websocketpp::server<stub_config> s; in BOOST_AUTO_TEST_CASE() 136 websocketpp::server<websocketpp::config::asio> server1; in BOOST_AUTO_TEST_CASE() 137 websocketpp::server<websocketpp::config::asio> server2; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/roles/ |
H A D | client.cpp | 60 static const websocketpp::log::level elog_level = websocketpp::log::elevel::none; 61 static const websocketpp::log::level alog_level = websocketpp::log::alevel::none; 69 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 73 BOOST_CHECK_EQUAL( ec , websocketpp::error::make_error_code(websocketpp::error::invalid_uri) ); in BOOST_AUTO_TEST_CASE() 78 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 82 …BOOST_CHECK_EQUAL( ec , websocketpp::error::make_error_code(websocketpp::error::endpoint_not_secur… in BOOST_AUTO_TEST_CASE() 87 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 100 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 139 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() 153 websocketpp::lib::error_code ec; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/ext/websocketpp/config/ |
H A D | core_client.hpp | 67 namespace websocketpp { namespace 94 typedef websocketpp::log::basic<concurrency_type, 95 websocketpp::log::elevel> elog_type; 96 typedef websocketpp::log::basic<concurrency_type, 97 websocketpp::log::alevel> alog_type; 153 typedef websocketpp::endpoint_base endpoint_base; 155 typedef websocketpp::connection_base connection_base; 184 static const websocketpp::log::level elog_level = 185 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 197 static const websocketpp::log::level alog_level = [all …]
|
H A D | core.hpp | 63 namespace websocketpp { namespace 86 typedef websocketpp::log::basic<concurrency_type, 87 websocketpp::log::elevel> elog_type; 88 typedef websocketpp::log::basic<concurrency_type, 89 websocketpp::log::alevel> alog_type; 144 typedef websocketpp::endpoint_base endpoint_base; 146 typedef websocketpp::connection_base connection_base; 175 static const websocketpp::log::level elog_level = 176 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 188 static const websocketpp::log::level alog_level = [all …]
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/third_party/websocketpp/websocketpp/config/ |
H A D | core_client.hpp | 67 namespace websocketpp { namespace 94 typedef websocketpp::log::basic<concurrency_type, 95 websocketpp::log::elevel> elog_type; 96 typedef websocketpp::log::basic<concurrency_type, 97 websocketpp::log::alevel> alog_type; 153 typedef websocketpp::endpoint_base endpoint_base; 155 typedef websocketpp::connection_base connection_base; 184 static const websocketpp::log::level elog_level = 185 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 197 static const websocketpp::log::level alog_level = [all …]
|
H A D | core.hpp | 63 namespace websocketpp { namespace 86 typedef websocketpp::log::basic<concurrency_type, 87 websocketpp::log::elevel> elog_type; 88 typedef websocketpp::log::basic<concurrency_type, 89 websocketpp::log::alevel> alog_type; 144 typedef websocketpp::endpoint_base endpoint_base; 146 typedef websocketpp::connection_base connection_base; 175 static const websocketpp::log::level elog_level = 176 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 188 static const websocketpp::log::level alog_level = [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/websocketpp/config/ |
H A D | core_client.hpp | 67 namespace websocketpp { namespace 94 typedef websocketpp::log::basic<concurrency_type, 95 websocketpp::log::elevel> elog_type; 96 typedef websocketpp::log::basic<concurrency_type, 97 websocketpp::log::alevel> alog_type; 153 typedef websocketpp::endpoint_base endpoint_base; 155 typedef websocketpp::connection_base connection_base; 184 static const websocketpp::log::level elog_level = 185 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 197 static const websocketpp::log::level alog_level = [all …]
|
H A D | core.hpp | 64 namespace websocketpp { namespace 87 typedef websocketpp::log::basic<concurrency_type, 88 websocketpp::log::elevel> elog_type; 89 typedef websocketpp::log::basic<concurrency_type, 90 websocketpp::log::alevel> alog_type; 145 typedef websocketpp::endpoint_base endpoint_base; 147 typedef websocketpp::connection_base connection_base; 176 static const websocketpp::log::level elog_level = 177 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 189 static const websocketpp::log::level alog_level = [all …]
|
/dports/multimedia/musikcube/musikcube-0.96.7/src/3rdparty/include/websocketpp/config/ |
H A D | core_client.hpp | 67 namespace websocketpp { namespace 94 typedef websocketpp::log::basic<concurrency_type, 95 websocketpp::log::elevel> elog_type; 96 typedef websocketpp::log::basic<concurrency_type, 97 websocketpp::log::alevel> alog_type; 153 typedef websocketpp::endpoint_base endpoint_base; 155 typedef websocketpp::connection_base connection_base; 184 static const websocketpp::log::level elog_level = 185 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 197 static const websocketpp::log::level alog_level = [all …]
|
H A D | core.hpp | 64 namespace websocketpp { namespace 87 typedef websocketpp::log::basic<concurrency_type, 88 websocketpp::log::elevel> elog_type; 89 typedef websocketpp::log::basic<concurrency_type, 90 websocketpp::log::alevel> alog_type; 145 typedef websocketpp::endpoint_base endpoint_base; 147 typedef websocketpp::connection_base connection_base; 176 static const websocketpp::log::level elog_level = 177 websocketpp::log::elevel::all ^ websocketpp::log::elevel::devel; 189 static const websocketpp::log::level alog_level = [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/test/http/ |
H A D | parser.cpp | 190 websocketpp::http::attribute_list a; in BOOST_AUTO_TEST_CASE() 201 websocketpp::http::attribute_list a; in BOOST_AUTO_TEST_CASE() 228 websocketpp::http::parameter_list p; in BOOST_AUTO_TEST_CASE() 229 websocketpp::http::attribute_list a; in BOOST_AUTO_TEST_CASE() 382 websocketpp::http::parser::parser r; in BOOST_AUTO_TEST_CASE() 392 websocketpp::http::parser::parser r; in BOOST_AUTO_TEST_CASE() 411 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 428 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 445 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() 462 websocketpp::http::parser::request r; in BOOST_AUTO_TEST_CASE() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/examples/testee_server/ |
H A D | testee_server.cpp | 35 typedef websocketpp::config::asio core; 64 static const websocketpp::log::level elog_level = 65 websocketpp::log::elevel::none; 67 websocketpp::log::alevel::none; 76 typedef websocketpp::server<testee_config> server; 78 using websocketpp::lib::placeholders::_1; 79 using websocketpp::lib::placeholders::_2; 80 using websocketpp::lib::bind; 131 typedef websocketpp::lib::shared_ptr<websocketpp::lib::thread> thread_ptr; in main() 134 …ts.push_back(websocketpp::lib::make_shared<websocketpp::lib::thread>(&server::run, &testee_server)… in main() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/tutorials/utility_client/ |
H A D | step6.cpp | 43 typedef websocketpp::client<websocketpp::config::asio_client> client; 109 websocketpp::connection_hdl m_hdl; 141 … m_thread = websocketpp::lib::make_shared<websocketpp::lib::thread>(&client::run, &m_endpoint); in websocket_endpoint() 155 websocketpp::lib::error_code ec; in ~websocket_endpoint() 167 websocketpp::lib::error_code ec; in connect() 184 websocketpp::lib::placeholders::_1 in connect() 190 websocketpp::lib::placeholders::_1 in connect() 196 websocketpp::lib::placeholders::_1 in connect() 211 websocketpp::lib::error_code ec; in close() 226 websocketpp::lib::error_code ec; in send() [all …]
|
/dports/devel/websocketpp/websocketpp-0.8.2/examples/utility_client/ |
H A D | utility_client.cpp | 43 typedef websocketpp::client<websocketpp::config::asio_client> client; 109 websocketpp::connection_hdl m_hdl; 141 … m_thread = websocketpp::lib::make_shared<websocketpp::lib::thread>(&client::run, &m_endpoint); in websocket_endpoint() 155 websocketpp::lib::error_code ec; in ~websocket_endpoint() 167 websocketpp::lib::error_code ec; in connect() 184 websocketpp::lib::placeholders::_1 in connect() 190 websocketpp::lib::placeholders::_1 in connect() 196 websocketpp::lib::placeholders::_1 in connect() 211 websocketpp::lib::error_code ec; in close() 226 websocketpp::lib::error_code ec; in send() [all …]
|