28#ifndef WEBSOCKETPP_PROCESSOR_HYBI08_HPP
29#define WEBSOCKETPP_PROCESSOR_HYBI08_HPP
43template <
typename config>
65 std::vector<std::string>
const &)
const
75 return r.get_header(
"Sec-WebSocket-Origin");
Processor for Hybi Draft version 08.
config::con_msg_manager_type::ptr msg_manager_ptr
config::request_type request_type
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.
config::rng_type rng_type
std::string const & get_origin(request_type const &r) const
Return the value of the header containing the CORS origin.
int get_version() const
Get the protocol version of this processor.
hybi08(bool secure, bool p_is_server, msg_manager_ptr manager, rng_type &rng)
Processor for Hybi version 13 (RFC6455)
@ no_protocol_support
No support for this feature in this protocol version.
lib::error_code make_error_code(error::processor_errors e)
Create an error code with the given value and the processor category.
Namespace for the WebSocket++ project.
lib::shared_ptr< uri > uri_ptr
Pointer to a URI.