Accepting

A server-side handshake in progress. Await with `Self::connect`.

Functions

Link copied to clipboard
open suspend override fun alpn(): ByteArray

Read the ALPN protocol from the peer's handshake data (resolves once the ClientHello has been received).

Link copied to clipboard
open override fun close()
Link copied to clipboard
open suspend override fun connect(): Connection

Wait for the handshake to complete, producing a `Connection`.

Link copied to clipboard
open override fun destroy()