docs about extract
This commit is contained in:
parent
bb54a3b675
commit
f589a33842
9 changed files with 34 additions and 2 deletions
|
|
@ -324,7 +324,7 @@ where:
|
|||
</li>
|
||||
<li><p><strong>any extract(XMLHttpRequest xhr, XHROptions options)</strong> (optional)</p>
|
||||
<p>Method to use to extract the data from the raw XMLHttpRequest. This is useful when the relevant data is either in a response header or the status field.</p>
|
||||
<p>If this parameter is falsy, <code>xhr.responseText</code> will be used.</p>
|
||||
<p>If this parameter is falsy, the default value is <code>function(xhr, options) {return xhr.responseText}</code>.</p>
|
||||
</li>
|
||||
<li><p><strong>void type(Object<any> data)</strong> (optional)</p>
|
||||
<p>The response object (or the child items if this object is an Array) will be passed as a parameter to the class constructor defined by <code>type</code></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue