Class: CUI.XHR
Defined in: | base/XHR/XHR.coffee |
Inherits: | CUI.Element |
Overview
- coffeescript-ui - Coffeescript User Interface System (CUI)
- Copyright (c) 2013 - 2016 Programmfabrik GmbH
- MIT Licence
- https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
Variables Summary
- readyStates =
-
{ 0: "UNSENT", 1: "OPENED", 2: "HEADERS_RECEIVED", 3: "LOADING", 4: "DONE" }
- statusText =
-
{ "-1": "abort", "-2": "timeout", "-3": "network_failure" }
Variable inherited from CUI.Element
Instance Method Summary
- # (void) getGroup()
- # (void) initOpts()
- # (void) readOpts()
- # (void) __registerEvents(type) type: xhr / upload
- # (void) __setStatus(__status)
- # (void) __download_abort()
- # (void) __download_timeout()
- # (void) __download_loadend()
- # (void) __download_readyStateChange()
- # (void) __progress(ev, type)
- # (void) __upload_progress(ev)
- # (void) __download_progress(ev)
- # (void) abort()
- # (void) isSuccess()
- # (void) status()
- # (void) statusText()
- # (void) response()
- # (void) start()
- # (void) getXHR()
- # (void) getAllResponseHeaders()
- # (void) getResponseHeaders()
- # (void) getResponseHeader(key)
- # (void) readyState()
Inherited Method Summary
Methods inherited from
CUI.Element
#getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #initOpts #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy #destroy #isDestroyed .getOptKeys
Instance Method Details
#
(void)
getGroup()
#
(void)
initOpts()
#
(void)
readOpts()
#
(void)
__registerEvents(type)
type: xhr / upload
#
(void)
__setStatus(__status)
#
(void)
__download_abort()
#
(void)
__download_timeout()
#
(void)
__download_loadend()
#
(void)
__download_readyStateChange()
#
(void)
__progress(ev, type)
#
(void)
__upload_progress(ev)
#
(void)
__download_progress(ev)
#
(void)
abort()
#
(void)
isSuccess()
#
(void)
status()
#
(void)
statusText()
#
(void)
response()
#
(void)
start()
#
(void)
getXHR()
#
(void)
getAllResponseHeaders()
#
(void)
getResponseHeaders()
#
(void)
getResponseHeader(key)
#
(void)
readyState()