connect

open suspend override fun connect(peer: Endpoint): Connection(source)

Throws

for anything but a plain (non-TLS) Endpoint.Tcp.