Boost.Corosio

    • Introduction
    • Quick Start
    • Tutorials
      • Echo Server
      • HTTP Client
      • DNS Lookup
      • TLS Context Configuration
    • Guide
      • TCP/IP Networking
      • Concurrent Programming
      • I/O Context
      • Sockets
      • Acceptors
      • Endpoints
      • Composed Operations
      • Timers
      • Signal Handling
      • Name Resolution
      • TCP Server
      • TLS Encryption
      • Error Handling
      • Buffer Sequences
    • Concepts
      • Design Rationale
      • Affine Awaitables
    • Testing
      • Mock Sockets
    • Reference
    • Glossary
  • boost::corosio::tls_stream::shutdown
arrow_upward

boost::corosio::tls_stream::shutdown

Perform a graceful TLS shutdown asynchronously.

Synopsis

Declared in <boost/corosio/tls_stream.hpp>

virtual
capy::io_task
shutdown() = 0;

Description

Initiates the TLS shutdown sequence by sending a close_notify alert and waiting for the peer's close_notify response.

Return Value

An awaitable yielding (error_code).

Created with MrDocs