Class

Response

Response(xhr)

This class wraps an XMLHttpRequest to maintain compatibility with the fetch API.
Constructor

# new Response(xhr)

Parameters:
Name Type Description
xhr XMLHttpRequest The request to be wrapped.
See:

View Source lib/client/HttpClient.ts, line 30

Methods

# json() → {any}

Returns the JSON decoded response.

View Source lib/client/HttpClient.ts, line 182

any