Computer scienceBackendKtorKtor Advanced

Microservice Architecture with Ktor

Retrofit configuration

Report a typo

Set the base URL for Retrofit to http://localhost:8000:

object RetrofitManager {
    private val retrofit: Retrofit = Retrofit.Builder()
        /* your code here */
        .addConverterFactory(GsonConverterFactory.create(GsonBuilder().create()))
        .build()
}
Enter a short text
___

Create a free account to access the full topic