Companion

object Companion

Properties

Link copied to clipboard

DEFAULT_CONNECTION_ERROR_MESSAGE the message to send when an error during the communication with the backend occurred

Link copied to clipboard

RESPONSE_DATA_KEY the key for the "response" field

Link copied to clipboard

RESPONSE_STATUS_KEY the key for the "status" field

Link copied to clipboard

USER_IDENTIFIER_KEY the key for the user "id" field

Link copied to clipboard

USER_TOKEN_KEY the key for the user "token" field

Functions

Link copied to clipboard
fun <T> JsonHelper.responseData(): T

Extension function to get directly the response data from the request response