Another one, what’s the right engine configuration...
# multiplatform
g
Another one, what’s the right engine configuration for ktor-client-js to be able to parse Json? In Android I could add the following: actual val networkHttpClient: HttpClient get() = HttpClient(OkHttp) { engine { if(BuildConfig.DEBUG) addNetworkInterceptor(HttpLoggingInterceptor().apply { level = HttpLoggingInterceptor.Level.BODY }) } install(JsonFeature) { serializer = GsonSerializer() } }
d
#ktor 🙂
g
ah right thanks