You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we check status code of response? The code is very beautifully written but i need to know how to get the response code because in interface you are returning List not Response so if you want to check mainRespository.getUsers().code you can not do it. I need to check the response code whether it is HTTP_200 , HTTP_UNAUTHORIZED so on.
Help will be appreciated, thanks in advance :)
The text was updated successfully, but these errors were encountered:
L1f12bscs2109
changed the title
Missing Generic Internet Checks and Response Code
Missing Generic Response Code
Jul 10, 2020
How can we check status code of response? The code is very beautifully written but i need to know how to get the response code because in interface you are returning List not Response so if you want to check mainRespository.getUsers().code you can not do it. I need to check the response code whether it is HTTP_200 , HTTP_UNAUTHORIZED so on.
Help will be appreciated, thanks in advance :)
The text was updated successfully, but these errors were encountered: