boost::corosio::wolfssl_stream::shutdown
Shut down the TLS session asynchronously.
Synopsis
Declared in <boost/corosio/wolfssl_stream.hpp>
virtual
capy::io_task<>
shutdown() override;
Description
Sends a close_notify alert and waits for the peer's close_notify response. Supports cancellation via stop token.
Preconditions
A handshake must have completed successfully. No other TLS operation may be in progress on this stream.
Return Value
An awaitable yielding (error_code).
Created with MrDocs