Skip to content

Missing Generic Response Code  #2

Open
@L1f12bscs2109

Description

@L1f12bscs2109

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions