websocketpp  0.3.0
C++/Boost Asio based websocket client/server library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
websocketpp::extensions::permessage_deflate::disabled< config > Class Template Reference

Stub class for use when disabling permessage_deflate extension. More...

#include <disabled.hpp>

Public Member Functions

err_str_pair negotiate (http::attribute_list const &attributes)
 
bool is_implemented () const
 
bool is_enabled () const
 
lib::error_code compress (std::string const &in, std::string &out)
 
lib::error_code decompress (uint8_t const *buf, size_t len, std::string &out)
 
lib::error_code decompress (std::string const &in, std::string &out)
 

Detailed Description

template<typename config>
class websocketpp::extensions::permessage_deflate::disabled< config >

Stub class for use when disabling permessage_deflate extension.

This class is a stub that implements the permessage_deflate interface with minimal dependencies. It is used to disable permessage_deflate functionality at compile time without loading any unnecessary code.

Definition at line 52 of file disabled.hpp.

Member Function Documentation

template<typename config >
bool websocketpp::extensions::permessage_deflate::disabled< config >::is_enabled ( ) const
inline

Returns true if permessage_deflate functionality is active for this connection

Definition at line 68 of file disabled.hpp.

template<typename config >
bool websocketpp::extensions::permessage_deflate::disabled< config >::is_implemented ( ) const
inline

Returns true if the extension is capable of providing permessage_deflate functionality

Definition at line 62 of file disabled.hpp.


The documentation for this class was generated from the following file: