Liking cljdoc? Tell your friends :D

web.XMLHttpRequest

Use XMLHttpRequest (XHR) objects to interact with servers. You retrieve data from a URL without having to do a full page refresh. enables a Web page to update just part of a page without disrupting the user is doing.

Use XMLHttpRequest (XHR) objects to interact with servers. You
retrieve data from a URL without having to do a full page refresh.
enables a Web page to update just part of a page without disrupting
the user is doing.
raw docstring

abortcljs

(abort this)

Method.

The XMLHttpRequest.abort() method aborts the request if it has been sent. When a request is aborted, its readyState is changed XMLHttpRequest.UNSENT (0) and the request's status code is to 0.

XMLHttpRequest.abort()

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

Method.

The XMLHttpRequest.abort() method aborts the request if it has
been sent. When a request is aborted, its `readyState` is changed
`XMLHttpRequest.UNSENT` (0) and the request's `status` code is
to 0.

`XMLHttpRequest.abort()`

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

channelcljs

(channel this)

Property.

XMLHttpRequest.channel is an nsIChannel that used by the object performing the request. This is null if the channel hasn't been yet. In the case of a multi-part request, this is the initial not the different parts in the multi-part request. Requires elevated to access.

See also: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/channel

Property.

XMLHttpRequest.channel is an nsIChannel that used by the object
performing the request. This is null if the channel hasn't been
yet. In the case of a multi-part request, this is the initial
not the different parts in the multi-part request. Requires elevated
to access.

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

constructorcljs

Constructor.

The XMLHttpRequest() constructor creates a new web.XMLHttpRequest.

None.

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

Constructor.

The XMLHttpRequest() constructor creates a new `web.XMLHttpRequest`.

None.

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

initcljs

(init this & args)

Method.

Initializes the object for use from C++ code.

Method.

Initializes the object for use from C++ code.
sourceraw docstring

onreadystatechangecljs

(onreadystatechange this)

Property.

An EventHandler that is called whenever the readyState attribute The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange contains the event handler to be called when the readystatechange is fired, that is every time the readyState property of the changes.

XMLHttpRequest.onreadystatechange = callback;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange

Property.

An `EventHandler` that is called whenever the readyState attribute
The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange
contains the event handler to be called when the readystatechange
is fired, that is every time the `readyState` property of the
changes.

`XMLHttpRequest.onreadystatechange = callback;`

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

open-requestcljs

(open-request this & args)

Method.

This Mozilla-specific method is available only from within privileged and is only called from a C++ context in order to initialize XMLHttpRequest.

See also: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/openRequest

Method.

This Mozilla-specific method is available only from within privileged
and is only called from a C++ context in order to initialize
XMLHttpRequest.

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

set-channel!cljs

(set-channel! this val)

Property.

XMLHttpRequest.channel is an nsIChannel that used by the object performing the request. This is null if the channel hasn't been yet. In the case of a multi-part request, this is the initial not the different parts in the multi-part request. Requires elevated to access.

See also: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/channel

Property.

XMLHttpRequest.channel is an nsIChannel that used by the object
performing the request. This is null if the channel hasn't been
yet. In the case of a multi-part request, this is the initial
not the different parts in the multi-part request. Requires elevated
to access.

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

set-onreadystatechange!cljs

(set-onreadystatechange! this val)

Property.

An EventHandler that is called whenever the readyState attribute The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange contains the event handler to be called when the readystatechange is fired, that is every time the readyState property of the changes.

XMLHttpRequest.onreadystatechange = callback;

See also: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange

Property.

An `EventHandler` that is called whenever the readyState attribute
The callback is called from the user interface thread. The XMLHttpRequest.onreadystatechange
contains the event handler to be called when the readystatechange
is fired, that is every time the `readyState` property of the
changes.

`XMLHttpRequest.onreadystatechange = callback;`

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

set-timeout!cljs

(set-timeout! this val)

Property.

The XMLHttpRequest.timeout property is an unsigned long representing number of milliseconds a request can take before automatically terminated. The default value is 0, which means there is no timeout. shouldn't be used for synchronous XMLHttpRequests requests used a document environment or it will throw an InvalidAccessError When a timeout happens, a timeout event is fired.

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

Property.

The XMLHttpRequest.timeout property is an unsigned long representing
number of milliseconds a request can take before automatically
terminated. The default value is 0, which means there is no timeout.
shouldn't be used for synchronous XMLHttpRequests requests used
a document environment or it will throw an InvalidAccessError
When a timeout happens, a timeout event is fired.

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

timeoutcljs

(timeout this)

Property.

The XMLHttpRequest.timeout property is an unsigned long representing number of milliseconds a request can take before automatically terminated. The default value is 0, which means there is no timeout. shouldn't be used for synchronous XMLHttpRequests requests used a document environment or it will throw an InvalidAccessError When a timeout happens, a timeout event is fired.

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

Property.

The XMLHttpRequest.timeout property is an unsigned long representing
number of milliseconds a request can take before automatically
terminated. The default value is 0, which means there is no timeout.
shouldn't be used for synchronous XMLHttpRequests requests used
a document environment or it will throw an InvalidAccessError
When a timeout happens, a timeout event is fired.

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

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

× close