On this page
responseType property
String telling the server the desired response format.
Default is String. Other options are one of 'arraybuffer', 'blob', 'document', 'json', 'text'. Some newer browsers will throw NS_ERROR_DOM_INVALID_ACCESS_ERR if responseType is set while performing a synchronous request.
See also: MDN responseType
Implementation
String get responseType native;
Implementation
set responseType(String value) native;
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/HttpRequest/responseType.html