A wrapper for the asio::ip::tcp::socket and asio::ssl::stream.
More...
A wrapper for the asio::ip::tcp::socket and asio::ssl::stream.
◆ context
◆ SocketAdaptor()
crow::SocketAdaptor::SocketAdaptor |
( |
boost::asio::io_service & |
io_service, |
|
|
context * |
|
|
) |
| |
|
inline |
◆ get_io_service()
boost::asio::io_service& crow::SocketAdaptor::get_io_service |
( |
| ) |
|
|
inline |
◆ raw_socket()
tcp::socket& crow::SocketAdaptor::raw_socket |
( |
| ) |
|
|
inline |
Get the TCP socket handling data trasfers, regardless of what layer is handling transfers on top of the socket.
◆ socket()
tcp::socket& crow::SocketAdaptor::socket |
( |
| ) |
|
|
inline |
Get the object handling data transfers, this can be either a TCP socket or an SSL stream (if SSL is enabled).
◆ remote_endpoint()
tcp::endpoint crow::SocketAdaptor::remote_endpoint |
( |
| ) |
|
|
inline |
◆ is_open()
bool crow::SocketAdaptor::is_open |
( |
| ) |
|
|
inline |
◆ close()
void crow::SocketAdaptor::close |
( |
| ) |
|
|
inline |
◆ shutdown_readwrite()
void crow::SocketAdaptor::shutdown_readwrite |
( |
| ) |
|
|
inline |
◆ shutdown_write()
void crow::SocketAdaptor::shutdown_write |
( |
| ) |
|
|
inline |
◆ shutdown_read()
void crow::SocketAdaptor::shutdown_read |
( |
| ) |
|
|
inline |
◆ start()
template<typename F >
void crow::SocketAdaptor::start |
( |
F |
f | ) |
|
|
inline |
◆ socket_
tcp::socket crow::SocketAdaptor::socket_ |
The documentation for this struct was generated from the following file: