| Home | Libraries | People | FAQ | More

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

Shut down SSL on the stream.

<h7> Synopsis </h7>

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

<h7> Description </h7>

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.

<h7> Parameters </h7>

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