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

Request response as Blob. (if set responseType = "blob")

error

Type boolean

Was there an error?

response

Type string

Request response body.

target

Type A

A target object that made the net load request.

type

Type string | null

Response Content-Type.

xhr

Type XMLHttpRequest

A reference to original XMLHttpRequest.