Thread
#multiplatform
    galex

    galex

    3 years ago
    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() } }
    Dominaezzz

    Dominaezzz

    3 years ago
    #ktor 🙂
    galex

    galex

    3 years ago
    ah right thanks