If I create a ktor httpClient with an OkHttp engin...
# ktor
s
If I create a ktor httpClient with an OkHttp engine, like
httpClientEngine = OkHttpEngine(OkHttpConfig().apply { preconfigured = okHttpClientBuilder.build() }),
, is it safe to assume then that all interceptors, headers and whatever will be forwarded exactly as they would when using my normal OkHttp client? If of course I am using the same
okHttpClientBuilder: : OkHttpClient.Builder
for both of them.
a
I think so but it requires testing anyway.
👍 1