packio
Public Member Functions | List of all members
packio::extra::ssl_stream_adapter< SslStream > Class Template Reference

Adapter class to support SSL streams. More...

#include <packio/extra/ssl.h>

Public Member Functions

bool is_open () const
 Reflect the state of the lower layer.
 
template<typename... Args>
auto close (Args &&... args)
 Close the lowest layer.
 
template<typename... Args>
auto cancel (Args &&...)
 Cancel is not possible on websockets, raise a compile-time error is the user tries to use it.
 

Detailed Description

template<typename SslStream>
class packio::extra::ssl_stream_adapter< SslStream >

Adapter class to support SSL streams.

Template Parameters
SslStreamThe SSL stream to adapt. Most likely a asio::ssl::stream<asio::ip::tcp::socket>

The documentation for this class was generated from the following file: