goog.net.IeCorsXhrAdapter
Provided By | |
---|---|
All Implemented Interfaces |
An adapter around Internet Explorer's XDomainRequest object that makes it look like a standard XMLHttpRequest. This can be used instead of XMLHttpRequest to support CORS.
new IeCorsXhrAdapter()
Parameters | None. |
---|
Instance Methods
this.abort() → void
void
Specified by | |
---|---|
Parameters | None. |
this.getAllResponseHeaders() → string
string
Returns the response headers from the server. This implemntation only returns the 'content-type' header.
Specified by | |||
---|---|---|---|
Parameters | None. | ||
Returns |
|
this.getResponseHeader( key ) → string
string
Returns the value of the response header identified by key. This implementation only supports the 'content-type' header.
Specified by | |||||
---|---|---|---|---|---|
Parameters |
| ||||
Returns |
|
this.open( method, url, opt_async ) → void
void
Opens a connection to the provided URL.
Specified by | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
this.send( opt_content ) → void
void
Sends the request to the remote server. Before calling this function, always
call open
.
Specified by | |||||
---|---|---|---|---|---|
Parameters |
|
this.setRequestHeader( key, value ) → void
void
Instance Properties
this.onreadystatechange → (function(): ?|null|undefined)
(function(): ?|null|undefined)
this.readyState → number
number
this.response → string
string
Specified by |
---|
this.responseText → string
string
this.responseType → string
string
this.responseXML → null
null
Specified by |
---|
this.setTrustToken → (function(TrustTokenAttributeType): undefined|null|undefined)
(function(TrustTokenAttributeType): undefined|null|undefined)
this.status → number
number
this.statusText → string
string
Specified by |
---|