responseXml 属性

  1. @JSName('responseXML')
Document? responseXml

请求的响应,失败时为 null。

除非 responseType = 'document' 且请求是同步的,否则响应以 text/xml 流处理。

实现

@JSName('responseXML')

/**
 * The request response, or null on failure.
 *
 * The response is processed as
 * `text/xml` stream, unless responseType = 'document' and the request is
 * synchronous.
 */

Document? get responseXml native;