handleResponse

abstract suspend fun handleResponse(response: Response): Response

handles responses. E.g. it could handle specific status-codes and log error messages.

Return

handled Response

Parameters

response

Response to handle