TLS/SSL streams.
More...
#include <stream.hpp>
|
using | recv_handler = std::function< void(std::error_code, nlohmann::json)> |
| Read completion handler. More...
|
|
using | send_handler = std::function< void(std::error_code)> |
| Write completion handler. More...
|
|
template<typename Socket>
class irccd::tls_stream< Socket >
TLS/SSL streams.
- Template Parameters
-
Socket | the Boost.Asio compatible socket. |
◆ tls_stream()
template<typename Socket >
Constructor.
- Parameters
-
service | the I/O service |
ctx | the shared context |
The documentation for this class was generated from the following file: