NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
hybi00.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <string>
#include <websocketpp/processors/hybi00.hpp>
#include <websocketpp/http/request.hpp>
#include <websocketpp/http/response.hpp>
#include <websocketpp/message_buffer/message.hpp>
#include <websocketpp/message_buffer/alloc.hpp>
Include dependency graph for hybi00.cpp:

Go to the source code of this file.

Classes

struct  stub_config
 
struct  processor_setup
 

Macros

#define BOOST_TEST_MODULE   hybi_00_processor
 

Typedefs

typedef stub_config::message_type::ptr message_ptr
 

Functions

 BOOST_AUTO_TEST_CASE (exact_match)
 
 BOOST_AUTO_TEST_CASE (non_get_method)
 
 BOOST_AUTO_TEST_CASE (old_http_version)
 
 BOOST_AUTO_TEST_CASE (missing_handshake_key1)
 
 BOOST_AUTO_TEST_CASE (missing_handshake_key2)
 
 BOOST_AUTO_TEST_CASE (bad_host)
 
 BOOST_AUTO_TEST_CASE (extract_subprotocols)
 
 BOOST_AUTO_TEST_CASE (prepare_data_frame_null)
 
 BOOST_AUTO_TEST_CASE (prepare_data_frame)
 
 BOOST_AUTO_TEST_CASE (empty_consume)
 
 BOOST_AUTO_TEST_CASE (empty_frame)
 
 BOOST_AUTO_TEST_CASE (short_frame)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   hybi_00_processor

Definition at line 28 of file hybi00.cpp.

Typedef Documentation

◆ message_ptr

typedef stub_config::message_type::ptr message_ptr

Definition at line 64 of file hybi00.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

◆ BOOST_AUTO_TEST_CASE() [2/12]

◆ BOOST_AUTO_TEST_CASE() [3/12]

◆ BOOST_AUTO_TEST_CASE() [4/12]

◆ BOOST_AUTO_TEST_CASE() [5/12]

◆ BOOST_AUTO_TEST_CASE() [6/12]

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( extract_subprotocols  )

◆ BOOST_AUTO_TEST_CASE() [8/12]

◆ BOOST_AUTO_TEST_CASE() [9/12]

◆ BOOST_AUTO_TEST_CASE() [10/12]

◆ BOOST_AUTO_TEST_CASE() [11/12]

◆ BOOST_AUTO_TEST_CASE() [12/12]