Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
PRO

Andrey gabin8

:octocat:
PRO
  • Ukraine
View GitHub Profile
View TlsSocketFactory.kt
package com.example.android.kotlincoroutines.ktor
import android.os.Build
import android.util.Log
import okhttp3.OkHttpClient
import okhttp3.TlsVersion
import java.io.IOException
import java.net.InetAddress
import java.net.Socket
import java.net.UnknownHostException