Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

websocket::async_teardown

Start tearing down a boost::asio::ssl::stream.

template<
    class AsyncStream,
    class TeardownHandler>
void
async_teardown(
    role_type role,
    boost::asio::ssl::stream< AsyncStream >& stream,
    TeardownHandler&& handler);
  » more...

Start tearing down a connection.

template<
    class Socket,
    class TeardownHandler>
void
async_teardown(
    role_type role,
    Socket& socket,
    TeardownHandler&& handler);
  » more...

Start tearing down a boost::asio::ip::tcp::socket.

template<
    class TeardownHandler>
void
async_teardown(
    role_type role,
    boost::asio::ip::tcp::socket& socket,
    TeardownHandler&& handler);
  » more...

PrevUpHomeNext