28 #ifndef WEBSOCKETPP_PROCESSOR_HYBI07_HPP 29 #define WEBSOCKETPP_PROCESSOR_HYBI07_HPP 31 #include <websocketpp/processors/hybi08.hpp> 43 template <
typename config>
46 typedef typename config::request_type request_type;
48 typedef typename config::con_msg_manager_type::ptr msg_manager_ptr;
49 typedef typename config::rng_type rng_type;
51 explicit hybi07(
bool secure,
bool p_is_server, msg_manager_ptr manager, rng_type& rng)
52 : hybi08<config>(secure, p_is_server, manager, rng) {}
66 return error::make_error_code(error::no_protocol_support);
lib::error_code client_handshake_request(request_type &, uri_ptr, std::vector< std::string > const &) const
Fill in a set of request headers for a client connection request.
Processor for Hybi Draft version 07.
int get_version() const
Get the protocol version of this processor.
void handle_accept(connection_ptr con, lib::error_code const &ec)
Handler callback for start_accept.
Processors encapsulate the protocol rules specific to each WebSocket version.