HttpCallback
interface HttpCallback
A callback for the execution of HTTP requests.
onFailure is called if a network error happens. HTTP errors won't trigger onFailure but onResponse with an HttpResponse indicating the status code.
A callback for the execution of HTTP requests.
onFailure is called if a network error happens. HTTP errors won't trigger onFailure but onResponse with an HttpResponse indicating the status code.