packio
|
Adapter class to support websockets servers. More...
#include <packio/extra/websocket.h>
Public Member Functions | |
WebsocketAdapter | 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 configure the recommended timeout settings. More... | |
Adapter class to support websockets servers.
Acceptor | The low level acceptor. Most likely a boost::asio::ip::tcp::acceptor |
WebsocketAdapter | The websocket type to use. Most likely a websocket_adapter |
|
inline |
Accept the low level connection and configure the recommended timeout settings.
If you need to configure the websocket differently, you can either write your own adapter, of change the session socket options in async_serve