2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
28#ifndef WEBSOCKETPP_TRANSPORT_STUB_BASE_HPP
29#define WEBSOCKETPP_TRANSPORT_STUB_BASE_HPP
31#include <websocketpp/common/system_error.hpp>
32#include <websocketpp/common/cpp11.hpp>
53class category :
public lib::error_category {
58 return "websocketpp.transport.stub";
61 std::string message(
int value)
const {
64 return "Generic stub transport policy error";
66 return "feature not implemented";
91 static bool const value =
true;
stub transport error category
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
lib::error_code make_error_code(error::value e)
Get an error code with the given value and the stub transport category.
lib::error_category const & get_category()
Get a reference to a static copy of the stub transport error category.
@ not_implemented
not implemented
Stub transport policy that has no input or output.
Transport policies provide network connectivity and timers.
Namespace for the WebSocket++ project.
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_