suspend expect fun Socket.tls(coroutineContext: <ERROR CLASS>, config: TLSConfig): Socket
Make Socket connection secure with TLS using TLSConfig. suspend fun Socket.tls(coroutineContext: <ERROR CLASS>): Socket 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. suspend expect fun Socket.tls(coroutineContext: <ERROR CLASS>, block: TLSConfigBuilder.() -> Unit): Socket
Make Socket connection secure with TLS configured with block. |