Joe
bind<OkHttpClient>() with factory { (socketFactory, standardHeaderInterceptor) -> OkHttpClient .Builder() .socketFactory(socketFactory) .addInterceptor(standardHeaderInterceptor) .addInterceptor(instance<ICrashlyticsLoggingInterceptor>()) .addInterceptor(instance<HttpLoggingInterceptor>()) .build() }
A modern programming language that makes developers happier.