| Home | Libraries | People | FAQ | More

###### ssl_stream::shutdown (2 of 2 overloads)

Shut down SSL on the stream.

Synopsis

    void
    shutdown(
        boost::system::error_code& ec);

Description

This function is used to shut down SSL on the stream. The function call will block until SSL has been shut down or an error occurs.

Parameters

Name | Description
--- | ---
`ec` | Set to indicate what error occurred, if any.