Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
close.hpp File Reference
Include dependency graph for close.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  websocketpp::close::code_converter
 Type used to convert close statuses between integer and wire representations. More...
 

Namespaces

namespace  websocketpp
 Namespace for the WebSocket++ project.
 
namespace  websocketpp::close
 A package of types and methods for manipulating WebSocket close codes.
 
namespace  websocketpp::close::status
 A package of types and methods for manipulating WebSocket close status'.
 

Typedefs

typedef uint16_t websocketpp::close::status::value
 The type of a close code value.
 

Functions

bool websocketpp::close::status::reserved (value code)
 Test whether a close code is in a reserved range.
 
bool websocketpp::close::status::invalid (value code)
 Test whether a close code is invalid on the wire.
 
bool websocketpp::close::status::terminal (value code)
 Determine if the code represents an unrecoverable error.
 
std::string websocketpp::close::status::get_string (value code)
 Return a human readable interpretation of a WebSocket close code.
 
status::value websocketpp::close::extract_code (std::string const &payload, lib::error_code &ec)
 Extract a close code value from a close payload.
 
std::string websocketpp::close::extract_reason (std::string const &payload, lib::error_code &ec)
 Extract the reason string from a close payload.
 

Detailed Description

A package of types and methods for manipulating WebSocket close codes.

Definition in file close.hpp.