//library/ss_n.common_ktx/HttpClient
[androidJvm]
object HttpClient
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 |
Name | Summary |
---|---|
client | [androidJvm] val client: OkHttpClient |
defaultClient | [androidJvm] val defaultClient: OkHttpClient Tips: Timeout is 10s |