|
WebSocket++ 0.8.4
C++ websocket client/server library
|
Basic ASIO endpoint socket component. More...
#include <none.hpp>
Public Types | |
| typedef endpoint | type |
| The type of this endpoint socket component. | |
| typedef connection | socket_con_type |
| The type of the corresponding connection socket component. | |
| typedef socket_con_type::ptr | socket_con_ptr |
Public Member Functions | |
| bool | is_secure () const |
| Checks whether the endpoint creates secure connections. | |
| void | set_socket_init_handler (socket_init_handler h) |
| Set socket init handler. | |
Protected Member Functions | |
| lib::error_code | init (socket_con_ptr scon) |
| Initialize a connection. | |
Basic ASIO endpoint socket component.
transport::asio::basic_socket::endpoint implements an endpoint socket component that uses Boost ASIO's ip::tcp::socket.
| typedef endpoint websocketpp::transport::asio::basic_socket::endpoint::type |
|
inlineexplicit |
|
inlineprotected |
|
inline |
|
inline |
Set socket init handler.
The socket init handler is called after a connection's socket is created but before it is used. This gives the end application an opportunity to set asio socket specific parameters.
| h | The new socket_init_handler |