goog.net.XhrLike
Provided By | |
---|---|
All Known Implementations |
Interface for the common parts of XMLHttpRequest.
Mostly copied from externs/w3c_xml.js.
Instance Methods
expand_more
this.abort() → void
void
No information.
expand_more
this.getAllResponseHeaders() → string
string
Parameters | None. | |
---|---|---|
Returns |
| |
See Also | http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders()-method |
expand_more
this.getResponseHeader( header ) → (string|null)
(string|null)
Parameters |
| ||||
---|---|---|---|---|---|
Returns |
| ||||
See Also | http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader()-method |
expand_more
this.open( method, url, opt_async, opt_user, opt_password ) → void
void
expand_more
this.send( opt_data ) → void
void
Parameters |
| ||||
---|---|---|---|---|---|
See Also |
expand_more
this.setRequestHeader( header, value ) → void
void
Parameters |
| ||||||||
---|---|---|---|---|---|---|---|---|---|
See Also | http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader()-method |
Instance Properties
expand_more
this.onreadystatechange → (function(): ?|null|undefined)
(function(): ?|null|undefined)
expand_more
this.readyState → number
number
expand_more
this.responseText → string
string
expand_more
this.responseType → string
string
expand_more
this.responseXML → (Document|null)
(Document|null)
expand_more
this.setTrustToken → (function(TrustTokenAttributeType): undefined|null|undefined)
(function(TrustTokenAttributeType): undefined|null|undefined)
expand_more
this.status → number
number
expand_more
this.statusText → string
string
Properties
expand_more
XhrLike.OrNative → (goog.net.XhrLike|XMLHttpRequest)
(goog.net.XhrLike|XMLHttpRequest)
Typedef that refers to either native or custom-implemented XHR objects.