Colton Idle
08/12/2020, 10:43 PMsuspend fun getItem(): Response<Any>
Doesn't compile... and my google fu (im assuming someone has inquired about this before) is failing me.jw
08/12/2020, 10:51 PMjw
08/12/2020, 10:51 PMColton Idle
08/12/2020, 10:52 PMjw
08/12/2020, 10:53 PMColton Idle
08/14/2020, 4:48 AMRetrofit does not readMy issue with that lib is that if I return Response<Unit> then the response body doesn't show up in the inspector. Which is weird though because since Chucker acts as an interceptor, I would still expect it to work.orResponse<Void>
at all and just closes the response body once the response is received. Chucker observes the network traffic that happens between your client and the serverResponse<Unit>
jw
08/14/2020, 5:05 AMColton Idle
08/14/2020, 5:31 AMColton Idle
08/14/2020, 7:27 AMRetrofit does read the response but does not read response bodyIs that correct? Just trying to figure out why having a return of Response<Unit> does not populate the response body in the network interceptor.
jw
08/14/2020, 12:14 PM