Skip to content

INetLoadResult

Type interface

Defines an interface for objects that hold a net request result.

Sources

INetLoadResult is an interface: it describes a shape of data and is not imported on its own.

Properties

blob

Type Blob

Response as a Blob, when responseType is "blob". response then holds its text.

error

Type boolean

Was there an error?

response

Type undefined | string

Request response body.

target

Type A

The target passed to load().

type

Type string | null

Response Content-Type.

xhr

Type XMLHttpRequest

A reference to original XMLHttpRequest.