Retrofit question: Why is there `Call<T>.awa...
# squarelibraries
z
Retrofit question: Why is there
Call<T>.await()
and
Call<T?>.await()
for converted responses, but for
Response
there’s only
Call<T>.awaitResponse()
? I don’t see any reason it couldn’t be implemented, was it just left out unintentionally? Or for that matter, does
T
even need to have a non-nullable upper bound for
awaitResponse
?
j
Response body is always nullable, for better or worse