tls
suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext): <ERROR CLASS>
Content copied to clipboard
Make Socket connection secure with TLS.
TODO: report YT issue
suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext, config: TLSConfig): <ERROR CLASS>
Content copied to clipboard
expect suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext, config: TLSConfig): <ERROR CLASS>
Content copied to clipboard
Make Socket connection secure with TLS using TLSConfig.
suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext): <ERROR CLASS>
Content copied to clipboard
Make Socket connection secure with TLS.
suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext, block: TLSConfigBuilder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
expect suspend fun <ERROR CLASS>.tls(coroutineContext: CoroutineContext, block: TLSConfigBuilder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
Make Socket connection secure with TLS configured with block.
suspend fun Socket.tls(coroutineContext: CoroutineContext, trustManager: X509TrustManager? = null, randomAlgorithm: String = "NativePRNGNonBlocking", cipherSuites: List<CipherSuite> = CIOCipherSuites.SupportedSuites, serverName: String? = null): Socket
Content copied to clipboard
Make Socket connection secure with TLS.