responseType property

XMLHttpRequestResponseType get responseType

@AvailableInWorkers("window_and_worker_except_service")

The XMLHttpRequest property responseType is an enumerated string value specifying the type of data contained in the response.

It also lets the author change the response type. If an empty string is set as the value of responseType, the default value of text is used.

Implementation

external XMLHttpRequestResponseType get responseType;
set responseType (XMLHttpRequestResponseType value)

Implementation

external set responseType(XMLHttpRequestResponseType value);