| Home | Libraries | People | FAQ | More

#### websocket::teardown

Tear down a `boost::asio::ssl::stream`.

    template<
        class SyncStream>
    void
    teardown(
        role_type role,
        boost::asio::ssl::stream< SyncStream >& stream,
        error_code& ec);
      » more...

Tear down a connection.

    template<
        class Socket>
    void
    teardown(
        role_type role,
        Socket& socket,
        error_code& ec);
      » more...

Tear down a `boost::asio::ip::tcp::socket`.

    void
    teardown(
        role_type role,
        boost::asio::ip::tcp::socket& socket,
        error_code& ec);
      » more...