Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
websocketpp::extensions::error::category Class Reference

#include <extension.hpp>

Inheritance diagram for websocketpp::extensions::error::category:
Collaboration diagram for websocketpp::extensions::error::category:

Public Member Functions

 category ()
 
const char * name () const _WEBSOCKETPP_NOEXCEPT_TOKEN_
 
std::string message (int value) const
 

Detailed Description

Definition at line 61 of file extension.hpp.

Constructor & Destructor Documentation

◆ category()

websocketpp::extensions::error::category::category ( )
inline

Definition at line 63 of file extension.hpp.

63{}

Member Function Documentation

◆ message()

std::string websocketpp::extensions::error::category::message ( int value) const
inline

Definition at line 69 of file extension.hpp.

69 {
70 switch(value) {
71 case general:
72 return "Generic extension error";
73 case disabled:
74 return "Use of methods from disabled extension";
75 default:
76 return "Unknown permessage-compress error";
77 }
78 }
@ disabled
Extension disabled.
Definition extension.hpp:58

◆ name()

const char * websocketpp::extensions::error::category::name ( ) const
inline

Definition at line 65 of file extension.hpp.

65 {
66 return "websocketpp.extension";
67 }

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