packio
Public Member Functions | List of all members
packio::extra::ssl_acceptor_adapter< Acceptor, SslStreamAdapter > Class Template Reference

Adapter class to support websockets servers. More...

#include <packio/extra/ssl.h>

Public Member Functions

SslStreamAdapter accept ()
 Don't need definition, but declaration is used to determine the socket type.
 
template<typename Handler >
void async_accept (Handler &&handler)
 Accept the low level connection and perform a SSL handshake.
 

Detailed Description

template<typename Acceptor, typename SslStreamAdapter>
class packio::extra::ssl_acceptor_adapter< Acceptor, SslStreamAdapter >

Adapter class to support websockets servers.

Template Parameters
AcceptorThe low level acceptor. Most likely a boost::asio::ip::tcp::acceptor
SslStreamAdapterThe SSL stream type to use. Most likely a ssl_stream_adapter

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