suspend fun Connection.tls(coroutineContext: <ERROR CLASS>, config: TLSConfig): Socket
Make Socket connection secure with TLS using TLSConfig.
suspend fun Connection.tls(coroutineContext: <ERROR CLASS>): Socket
Make Socket connection secure with TLS.
suspend fun Connection.tls(coroutineContext: <ERROR CLASS>, block: TLSConfigBuilder.() -> Unit): Socket
Make Socket connection secure with TLS configured with block.