WebSocket++
0.8.1
C++ websocket client/server library
|
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) {}
lib::shared_ptr< uri > uri_ptr
Pointer to a URI.
Error code category and codes used by all processor types.
@ no_protocol_support
No support for this feature in this protocol version.
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.
static std::vector< int > const versions_supported(helper, helper+4)
Container that stores the list of protocol versions supported.
lib::error_code make_error_code(error::processor_errors e)
Create an error code with the given value and the processor category.
Processor for Hybi Draft version 08.
Processors encapsulate the protocol rules specific to each WebSocket version.
int get_version() const
Get the protocol version of this processor.