NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
client.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <websocketpp/random/random_device.hpp>
#include <websocketpp/config/core.hpp>
#include <websocketpp/client.hpp>
#include <websocketpp/http/request.hpp>
Include dependency graph for client.cpp:

Go to the source code of this file.

Classes

struct  stub_config
 

Macros

#define BOOST_TEST_MODULE   client
 

Typedefs

typedef websocketpp::client< stub_configclient
 
typedef client::connection_ptr connection_ptr
 

Functions

 BOOST_AUTO_TEST_CASE (invalid_uri)
 
 BOOST_AUTO_TEST_CASE (unsecure_endpoint)
 
 BOOST_AUTO_TEST_CASE (get_connection)
 
 BOOST_AUTO_TEST_CASE (connect_con)
 
 BOOST_AUTO_TEST_CASE (select_subprotocol)
 
 BOOST_AUTO_TEST_CASE (add_subprotocols_invalid)
 
 BOOST_AUTO_TEST_CASE (add_subprotocols)
 

Macro Definition Documentation

#define BOOST_TEST_MODULE   client

Definition at line 28 of file client.cpp.

Typedef Documentation

Definition at line 64 of file client.cpp.

Definition at line 65 of file client.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( invalid_uri  )
BOOST_AUTO_TEST_CASE ( unsecure_endpoint  )
BOOST_AUTO_TEST_CASE ( get_connection  )

Definition at line 85 of file client.cpp.

References websocketpp::client< config >::get_connection().

BOOST_AUTO_TEST_CASE ( select_subprotocol  )
BOOST_AUTO_TEST_CASE ( add_subprotocols_invalid  )