Liking cljdoc? Tell your friends :D

web.XDomainRequest

XDomainRequest is an implementation of HTTP access control (CORS) worked in Internet Explorer 8 and 9. It was removed in Internet 10 in favor of using XMLHttpRequest with proper CORS; if you targeting Internet Explorer 10 or later, or wish to support any browser, you need to use standard HTTP access control.

XDomainRequest is an implementation of HTTP access control (CORS)
worked in Internet Explorer 8 and 9. It was removed in Internet
10 in favor of using XMLHttpRequest with proper CORS; if you
targeting Internet Explorer 10 or later, or wish to support any
browser, you need to use standard HTTP access control.
raw docstring

abortcljs

(abort this)

Method.

Aborts an web.XDomainRequest.

xdr.abort();

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/abort

Method.

Aborts an `web.XDomainRequest`.

`xdr.abort();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/abort`
sourceraw docstring

onerrorcljs

(onerror this)

Property.

An event handler which is called when an web.XDomainRequest an error.

xdr.onerror = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onerror

Property.

An event handler which is called when an `web.XDomainRequest`
an error.

`xdr.onerror = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onerror`
sourceraw docstring

onloadcljs

(onload this)

Property.

An event handler for when an web.XDomainRequest has finished the response from the server. You can find the entire server in the web.XDomainRequest.responseText property.

xdr.onload = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onload

Property.

An event handler for when an `web.XDomainRequest` has finished
the response from the server. You can find the entire server
in the `web.XDomainRequest.responseText` property.

`xdr.onload = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onload`
sourceraw docstring

onprogresscljs

(onprogress this)

Property.

This method is called periodically as an event handler for progress on web.XDomainRequests, so that code can monitor progress while content.

xdr.onprogress = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onprogress

Property.

This method is called periodically as an event handler for progress
on `web.XDomainRequest`s, so that code can monitor progress while
content.

`xdr.onprogress = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onprogress`
sourceraw docstring

ontimeoutcljs

(ontimeout this)

Property.

An event handler which is called when a pending web.XDomainRequest out.

xdr.ontimeout = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/ontimeout

Property.

An event handler which is called when a pending `web.XDomainRequest`
out.

`xdr.ontimeout = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/ontimeout`
sourceraw docstring

opencljs

(open this method url)

Method.

Opens an web.XDomainRequest which is configured to use a given (GET/POST) and URL.

xdr.open(method, url);

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/open

Method.

Opens an `web.XDomainRequest` which is configured to use a given
(GET/POST) and URL.

`xdr.open(method, url);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/open`
sourceraw docstring

response-textcljs

(response-text this)

Property.

Returns the response body of an web.XDomainRequest as a string.

`var response = xdr.responseText;

This sets response to contain the response body of the request, as a string.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/responseText

Property.

Returns the response body of an `web.XDomainRequest` as a string.

`var response = xdr.responseText;

This sets response to contain the response body of the request, as a string.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/responseText`
sourceraw docstring

sendcljs

(send this data)

Method.

Sends an web.XDomainRequest which has previously been opened web.XDomainRequest.open().

xdr.send(data);

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/send

Method.

Sends an `web.XDomainRequest` which has previously been opened
`web.XDomainRequest.open()`.

`xdr.send(data);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/send`
sourceraw docstring

set-onerror!cljs

(set-onerror! this val)

Property.

An event handler which is called when an web.XDomainRequest an error.

xdr.onerror = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onerror

Property.

An event handler which is called when an `web.XDomainRequest`
an error.

`xdr.onerror = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onerror`
sourceraw docstring

set-onload!cljs

(set-onload! this val)

Property.

An event handler for when an web.XDomainRequest has finished the response from the server. You can find the entire server in the web.XDomainRequest.responseText property.

xdr.onload = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onload

Property.

An event handler for when an `web.XDomainRequest` has finished
the response from the server. You can find the entire server
in the `web.XDomainRequest.responseText` property.

`xdr.onload = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onload`
sourceraw docstring

set-onprogress!cljs

(set-onprogress! this val)

Property.

This method is called periodically as an event handler for progress on web.XDomainRequests, so that code can monitor progress while content.

xdr.onprogress = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onprogress

Property.

This method is called periodically as an event handler for progress
on `web.XDomainRequest`s, so that code can monitor progress while
content.

`xdr.onprogress = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/onprogress`
sourceraw docstring

set-ontimeout!cljs

(set-ontimeout! this val)

Property.

An event handler which is called when a pending web.XDomainRequest out.

xdr.ontimeout = funcRef;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/ontimeout

Property.

An event handler which is called when a pending `web.XDomainRequest`
out.

`xdr.ontimeout = funcRef;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/ontimeout`
sourceraw docstring

set-response-text!cljs

(set-response-text! this val)

Property.

Returns the response body of an web.XDomainRequest as a string.

`var response = xdr.responseText;

This sets response to contain the response body of the request, as a string.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/responseText

Property.

Returns the response body of an `web.XDomainRequest` as a string.

`var response = xdr.responseText;

This sets response to contain the response body of the request, as a string.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/responseText`
sourceraw docstring

set-timeout!cljs

(set-timeout! this val)

Property.

Gets or sets the amount of time in milliseconds until an web.XDomainRequest out.

`xdr.timeout = milliseconds;

The default value is 0.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/timeout

Property.

Gets or sets the amount of time in milliseconds until an `web.XDomainRequest`
out.

`xdr.timeout = milliseconds;

The default value is 0.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/timeout`
sourceraw docstring

timeoutcljs

(timeout this)

Property.

Gets or sets the amount of time in milliseconds until an web.XDomainRequest out.

`xdr.timeout = milliseconds;

The default value is 0.`

See also: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/timeout

Property.

Gets or sets the amount of time in milliseconds until an `web.XDomainRequest`
out.

`xdr.timeout = milliseconds;

The default value is 0.`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest/timeout`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close