Basic ASIO endpoint socket component.
More...
#include <none.hpp>
Basic ASIO endpoint socket component.
transport::asio::basic_socket::endpoint implements an endpoint socket component that uses Boost ASIO's ip::tcp::socket.
Definition at line 318 of file none.hpp.
◆ type
The type of this endpoint socket component.
Definition at line 321 of file none.hpp.
◆ socket_con_type
The type of the corresponding connection socket component.
Definition at line 324 of file none.hpp.
◆ socket_con_ptr
The type of a shared pointer to the corresponding connection socket component.
Definition at line 327 of file none.hpp.
◆ endpoint()
websocketpp::transport::asio::basic_socket::endpoint::endpoint |
( |
| ) |
|
|
inlineexplicit |
◆ is_secure()
bool websocketpp::transport::asio::basic_socket::endpoint::is_secure |
( |
| ) |
const |
|
inline |
Checks whether the endpoint creates secure connections.
- Returns
- Whether or not the endpoint creates secure connections
Definition at line 335 of file none.hpp.
◆ set_socket_init_handler()
void websocketpp::transport::asio::basic_socket::endpoint::set_socket_init_handler |
( |
socket_init_handler |
h | ) |
|
|
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.
- Parameters
-
h | The new socket_init_handler |
Definition at line 347 of file none.hpp.
◆ init()
lib::error_code websocketpp::transport::asio::basic_socket::endpoint::init |
( |
socket_con_ptr |
scon | ) |
|
|
inlineprotected |
Initialize a connection.
Called by the transport after a new connection is created to initialize the socket component of the connection.
- Parameters
-
scon | Pointer to the socket component of the connection |
- Returns
- Error code (empty on success)
Definition at line 360 of file none.hpp.
The documentation for this class was generated from the following file:
- ndnSIM/NFD/websocketpp/websocketpp/transport/asio/security/none.hpp