NetworkModule

@Module
object NetworkModule

Functions

Link copied to clipboard
@Provides
@Singleton
fun provideHttpClient(): OkHttpClient
Link copied to clipboard
@Provides
@Singleton
fun provideMainRetrofit(httpClient: OkHttpClient): Retrofit
Link copied to clipboard
@Provides
@Singleton
fun provideRobotoffRetrofit(httpClient: OkHttpClient): Retrofit
Link copied to clipboard
@Provides
@Singleton
fun provideWikiRetrofit(httpClient: OkHttpClient): Retrofit