AcceptingInterface

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

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun alpn(): ByteArray

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

Link copied to clipboard
abstract suspend fun connect(): Connection

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