This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.greenvity.llp.newapp.api.auth.AuthRetrofitInstance | |
import com.greenvity.llp.newapp.models.auth.login.LoginRequest | |
import com.greenvity.llp.newapp.utils.shared_pref.AppPreferences | |
import kotlinx.coroutines.runBlocking | |
import kotlinx.coroutines.sync.Mutex | |
import kotlinx.coroutines.sync.withLock | |
import okhttp3.Interceptor | |
import okhttp3.Request | |
import okhttp3.Response | |
import java.net.HttpURLConnection.* |