responseXml 属性

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

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

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

实现

@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;