tls
suspend fun Socket.tls(
coroutineContext: <ERROR CLASS>,
trustManager: X509TrustManager? = null,
randomAlgorithm: String = "NativePRNGNonBlocking",
cipherSuites: List<CipherSuite> = CIOCipherSuites.SupportedSuites,
serverName: String? = null
): Socket
Make Socket connection secure with TLS.