28 #ifndef WEBSOCKETPP_EXTENSION_PERMESSAGE_DEFLATE_DISABLED_HPP
29 #define WEBSOCKETPP_EXTENSION_PERMESSAGE_DEFLATE_DISABLED_HPP
31 #include <websocketpp/common/cpp11.hpp>
32 #include <websocketpp/common/stdint.hpp>
33 #include <websocketpp/common/system_error.hpp>
35 #include <websocketpp/http/constants.hpp>
36 #include <websocketpp/extensions/extension.hpp>
52 template <
typename config>
54 typedef std::pair<lib::error_code,std::string> err_str_pair;
66 return make_pair(make_error_code(error::disabled),std::string());
76 lib::error_code
init(
bool) {
77 return lib::error_code();
109 lib::error_code
compress(std::string
const &, std::string &) {
110 return make_error_code(error::disabled);
121 return make_error_code(error::disabled);