Checks if the response is "not ok" (if it's either ClientErrorHttpResponse, or ServerErrorHttpResponse).
true if response type matches the ok response types.
Checks if the response is "ok" (if it's either InformationalHttpResponse, SuccessfulHttpResponse or RedirectionHttpResponse).
true if response type matches the ok response types.
Checks if the response is redirecting to a different resource/url.
true if response type matches RedirectionHttpResponse.
Static
fromConverts a fetch Response in a HttpResponse. The same as fromFetchResponse but eager loads the response body.
a response that follows the Fetch API response schema.
a HttpResponse instance that translates the fetch response.
Static
fromConverts a fetch Response in a HttpResponse.
a response that follows the Fetch API response schema.
a HttpResponse instance that translates the fetch response.
Generated using TypeDoc
Types an HTTP response that is classified as a server error response (status code: 500-599).