Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
websocketpp::transport::asio::socket Namespace Reference

Namespaces

namespace  error
 Errors related to asio transport sockets.
 

Classes

class  socket_category
 Error category related to asio transport socket policies. More...
 

Typedefs

typedef lib::function< void(lib::asio::error_code const &)> shutdown_handler
 
typedef lib::function< void(const lib::error_code &)> init_handler
 Type of asio transport socket policy initialization handlers.
 

Functions

lib::error_category const & get_socket_category ()
 
lib::error_code make_error_code (error::value e)
 

Typedef Documentation

◆ init_handler

typedef lib::function<void(const lib::error_code&)> websocketpp::transport::asio::socket::init_handler

Definition at line 152 of file base.hpp.

◆ shutdown_handler

typedef lib::function<void(lib::asio::error_code const &)> websocketpp::transport::asio::socket::shutdown_handler

Definition at line 67 of file base.hpp.

Function Documentation

◆ get_socket_category()

lib::error_category const & websocketpp::transport::asio::socket::get_socket_category ( )
inline

Definition at line 142 of file base.hpp.

142 {
143 static socket_category instance;
144 return instance;
145}
Error category related to asio transport socket policies.
Definition base.hpp:110
Here is the caller graph for this function:

◆ make_error_code()

lib::error_code websocketpp::transport::asio::socket::make_error_code ( error::value e)
inline

Definition at line 147 of file base.hpp.

147 {
148 return lib::error_code(static_cast<int>(e), get_socket_category());
149}
lib::error_category const & get_socket_category()
Definition base.hpp:142
Here is the call graph for this function:
Here is the caller graph for this function: