blob: eae5324043c7d2f301e415be973d8104bbe96a30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package sh.lajo.buddy
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.OkHttpClient
object HttpClient {
val client: OkHttpClient by lazy {
OkHttpClient.Builder()
// You can add timeouts, interceptors, etc. here if needed
.build()
}
val JSON = "application/json".toMediaType()
}
|