In retrofit... when I don't really care about the ...
# squarelibraries
c
In retrofit... when I don't really care about the type coming back. I just care about checking whether it was a 200. How would I write that? I believe in Java I would use Response<Void>, but I'm using kotlin + suspend functions. Not sure if that changes anything. Is something like this alright?
Copy code
@GET("api/logout") suspend fun logOut(): Response<ResponseBody>