Manager

interface Manager

The Manager interface is useful to give the base behavior of a manager that uses APIRequest as way to make the request to the API services

Author

N7ghtm4r3 - Tecknobit

Since

2.1.5

See also

Functions

Link copied to clipboard
abstract fun getErrorResponse(): String
Method to get the error response af a request No-any params required
Link copied to clipboard
abstract fun <T> getJSONErrorResponse(): T
Method to get the error response of a request formatted in JSON No-any params required
Link copied to clipboard
abstract fun getResponse(): String
Method to get the response af a request No-any params required
Link copied to clipboard
abstract fun getStatusResponse(): Int
Method to get the status code of a request No-any params required
Link copied to clipboard
abstract fun printErrorResponse()
Method to print the error response of a request No-any params required