add typedefs for iostream clients and servers to integration test suite

This commit is contained in:
Peter Thorson
2014-01-25 18:29:54 -06:00
parent 8f359e6d35
commit 780f7683a4

View File

@@ -30,6 +30,8 @@
#include <websocketpp/common/thread.hpp>
#include <websocketpp/config/core.hpp>
#include <websocketpp/config/core_client.hpp>
#include <websocketpp/config/asio_no_tls.hpp>
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/server.hpp>
@@ -80,6 +82,9 @@ struct config : public websocketpp::config::asio_client {
typedef websocketpp::server<config> server;
typedef websocketpp::client<config> client;
typedef websocketpp::server<websocketpp::config::core> iostream_server;
typedef websocketpp::client<websocketpp::config::core_client> iostream_client;
using websocketpp::lib::placeholders::_1;
using websocketpp::lib::placeholders::_2;
using websocketpp::lib::bind;