common-ktx

//library/ss_n.common_ktx/HttpClient

HttpClient

[androidJvm]
object HttpClient

Functions

Name Summary
createCustomClient [androidJvm]
fun createCustomClient(connectTimeout: Long = HTTP_TIME_OUT, writeTimeout: Long = HTTP_TIME_OUT, readTimeout: Long = HTTP_TIME_OUT, isShowLog: Boolean = true, logLevel: HttpLoggingInterceptor.Level = BODY): OkHttpClient

Properties

Name Summary
client [androidJvm]
val client: OkHttpClient
defaultClient [androidJvm]
val defaultClient: OkHttpClient
Tips: Timeout is 10s