https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
a

alex.tavella

03/31/2021, 1:01 PM
But those will set the
readTimeout
and
writeTimeout
and not the entire call timeout which is what I actually want. I think I can just read the headers from the
CallAdapter.Factory
, if that works we will be fine.
j

jessewilson

04/01/2021, 11:56 AM
By the time your interceptor runs the timeout has already started
a

alex.tavella

04/01/2021, 1:17 PM
I’m not actually using
Interceptor
but
CallAdapter.Factory
instead. The request headers are available at
CallAdapter#adapt
.
4 Views