| Home | Libraries | People | FAQ | More

#### 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...