HTTP extension
Status helpers on an http Response. if (response.isSuccessful()) …
- on
Methods
-
isServerError(
) → bool - True for status 500-599.
-
isSuccessful(
) → bool - True for status 200-299.
-
prettyLog(
{String params = ""}) → void - Logs method, url, status, params and body to the debug console.