|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: io (YUI Library)</title> |
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
|
12 |
</head> |
|
|
13 |
|
|
|
14 |
<body id="yahoo-com"> |
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2"> |
|
|
17 |
<div id="hd"> |
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
|
19 |
<h3>io <span class="subtitle">3.0.0b1</span></h3> |
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
|
21 |
> <a href="./module_io.html" title="io">io</a> |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<form onsubmit="return false"> |
|
|
25 |
<div id="propertysearch"> |
|
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
|
27 |
<div id="searchresults"> |
|
|
28 |
|
|
|
29 |
</div> |
|
|
30 |
</div> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
|
|
|
34 |
<div id="bd"> |
|
|
35 |
<div id="yui-main"> |
|
|
36 |
<div class="yui-b"> |
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
|
38 |
<fieldset> |
|
|
39 |
<legend>Filters</legend> |
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
|
43 |
</fieldset> |
|
|
44 |
</form> |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<h3>Module: io |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
</h3> |
|
|
52 |
<div class="description summary"> |
|
|
53 |
Base IO functionality. Provides basic XHR transport support. |
|
|
54 |
</div> |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
<div class="yui-gc"> |
|
|
59 |
<div class="yui-u first"> |
|
|
60 |
|
|
|
61 |
<p>This module contains the following classes:</p> |
|
|
62 |
<script> |
|
|
63 |
//var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "The io class is a utility that brokers HTTP requests through a simplified\ninterface. Specifically, it allows JavaScript to make HTTP requests to\na resource without a page reload. The underlying transport for making\nsame-domain requests is the XMLHttpRequest object. YUI.io can also use\nFlash, if specified as a transport, for cross-domain requests.", "guessedname": "io", "name": "io"}]; |
|
|
64 |
</script> |
|
|
65 |
<div id="splash_classList"> |
|
|
66 |
<ul> |
|
|
67 |
<li><a href="io.html" title="io" id="class_0">io</a></li> |
|
|
68 |
</ul> |
|
|
69 |
</div> |
|
|
70 |
</div> |
|
|
71 |
<div class="yui-u"> |
|
|
72 |
<div class="submodules"> |
|
|
73 |
<h4>Submodules:</h4> |
|
|
74 |
<dl> |
|
|
75 |
<dt><code>io-base</code></dt> |
|
|
76 |
<dd>Base IO functionality. Provides basic XHR transport support.</dd> |
|
|
77 |
<dt><code>io-queue</code></dt> |
|
|
78 |
<dd>Extends the IO base class to implement Queue for synchronous |
|
|
79 |
transaction processing.</dd> |
|
|
80 |
<dt><code>io-upload-iframe</code></dt> |
|
|
81 |
<dd>Extends the IO base class to enable file uploads, with HTML forms, |
|
|
82 |
using an iframe as the transport medium.</dd> |
|
|
83 |
<dt><code>io-xdr</code></dt> |
|
|
84 |
<dd>Extends the IO base class to provide an alternate, Flash transport, for making |
|
|
85 |
cross-domain requests.</dd> |
|
|
86 |
<dt><code>io-form</code></dt> |
|
|
87 |
<dd>Extends the IO base class to enable HTML form data serialization, when specified |
|
|
88 |
in the transaction's configuration object.</dd> |
|
|
89 |
</dl> |
|
|
90 |
</div> |
|
|
91 |
|
|
|
92 |
</div> |
|
|
93 |
</div> |
|
|
94 |
|
|
|
95 |
</div> |
|
|
96 |
</div> |
|
|
97 |
<div class="yui-b"> |
|
|
98 |
<div class="nav"> |
|
|
99 |
|
|
|
100 |
<div id="moduleList" class="module"> |
|
|
101 |
<h4>Modules</h4> |
|
|
102 |
<ul class="content"> |
|
|
103 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
104 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
105 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
106 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
107 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
108 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
109 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
110 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
111 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
112 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
113 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
114 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
115 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
116 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
117 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
118 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
119 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
120 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
121 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
122 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
123 |
<li class="selected"><a href="module_io.html" title="io">io</a></li> |
|
|
124 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
125 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
126 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
127 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
128 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
129 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
130 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
131 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
132 |
<li class=""><a href="module_queue.html" title="queue">queue</a></li> |
|
|
133 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
134 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
135 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
136 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
137 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
138 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
139 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
140 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
141 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
142 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
|
143 |
</ul> |
|
|
144 |
</div> |
|
|
145 |
|
|
|
146 |
<div id="classList" class="module"> |
|
|
147 |
<h4>Classes</h4> |
|
|
148 |
<ul class="content"> |
|
|
149 |
<li class=""><a href="io.html" title="io">io</a></li> |
|
|
150 |
</ul> |
|
|
151 |
</div> |
|
|
152 |
|
|
|
153 |
<div id="fileList" class="module"> |
|
|
154 |
<h4>Files</h4> |
|
|
155 |
<ul class="content"> |
|
|
156 |
<li class=""><a href="io-base.js.html" title="io-base.js">io-base.js</a></li> |
|
|
157 |
<li class=""><a href="io-form.js.html" title="io-form.js">io-form.js</a></li> |
|
|
158 |
<li class=""><a href="io-queue.js.html" title="io-queue.js">io-queue.js</a></li> |
|
|
159 |
<li class=""><a href="io-upload-iframe.js.html" title="io-upload-iframe.js">io-upload-iframe.js</a></li> |
|
|
160 |
<li class=""><a href="io-xdr.js.html" title="io-xdr.js">io-xdr.js</a></li> |
|
|
161 |
</ul> |
|
|
162 |
</div> |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
</div> |
|
|
169 |
</div> |
|
|
170 |
</div> |
|
|
171 |
<div id="ft"> |
|
|
172 |
<hr /> |
|
|
173 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
174 |
</div> |
|
|
175 |
</div> |
|
|
176 |
<script type="text/javascript"> |
|
|
177 |
ALL_YUI_PROPS = [{"access": "private", "host": "io", "name": "appendData", "url": "io.html#method_appendData", "type": "method"}, {"access": "private", "host": "io", "name": "_async", "url": "io.html#method__async", "type": "method"}, {"access": "private", "host": "io", "name": "_clearTimeout", "url": "io.html#method__clearTimeout", "type": "method"}, {"access": "private", "host": "io", "name": "_concat", "url": "io.html#method__concat", "type": "method"}, {"access": "private", "host": "io", "name": "_create", "url": "io.html#method__create", "type": "method"}, {"access": "private", "host": "io", "name": "_e", "url": "io.html#property__e", "type": "property"}, {"access": "private", "host": "io", "name": "_fn", "url": "io.html#property__fn", "type": "property"}, {"access": "private", "host": "io", "name": "_handleResponse", "url": "io.html#method__handleResponse", "type": "method"}, {"access": "", "host": "io", "name": "header", "url": "io.html#method_header", "type": "method"}, {"access": "private", "host": "io", "name": "_headers", "url": "io.html#property__headers", "type": "property"}, {"access": "private", "host": "io", "name": "_id", "url": "io.html#method__id", "type": "method"}, {"access": "private", "host": "io", "name": "_io", "url": "io.html#method__io", "type": "method"}, {"access": "", "host": "io", "name": "io", "url": "io.html#method_io", "type": "method"}, {"access": "", "host": "io", "name": "io:complete", "url": "io.html#event_io:complete", "type": "event"}, {"access": "", "host": "io", "name": "io:end", "url": "io.html#event_io:end", "type": "event"}, {"access": "", "host": "io", "name": "io:failure", "url": "io.html#event_io:failure", "type": "event"}, {"access": "", "host": "io", "name": "io:start", "url": "io.html#event_io:start", "type": "event"}, {"access": "", "host": "io", "name": "io:success", "url": "io.html#event_io:success", "type": "event"}, {"access": "", "host": "io", "name": "io:xdrReady", "url": "io.html#event_io:xdrReady", "type": "event"}, {"access": "private", "host": "io", "name": "_ioCancel", "url": "io.html#method__ioCancel", "type": "method"}, {"access": "private", "host": "io", "name": "_ioComplete", "url": "io.html#method__ioComplete", "type": "method"}, {"access": "private", "host": "io", "name": "_ioEnd", "url": "io.html#method__ioEnd", "type": "method"}, {"access": "private", "host": "io", "name": "_ioFailure", "url": "io.html#method__ioFailure", "type": "method"}, {"access": "private", "host": "io", "name": "_ioStart", "url": "io.html#method__ioStart", "type": "method"}, {"access": "private", "host": "io", "name": "_ioSuccess", "url": "io.html#method__ioSuccess", "type": "method"}, {"access": "private", "host": "io", "name": "_isInProgress", "url": "io.html#method__isInProgress", "type": "method"}, {"access": "", "host": "io", "name": "promote", "url": "io.html#method_promote", "type": "method"}, {"access": "", "host": "io", "name": "purge", "url": "io.html#method_purge", "type": "method"}, {"access": "private", "host": "io", "name": "_qState", "url": "io.html#property__qState", "type": "property"}, {"access": "private", "host": "io", "name": "_queue", "url": "io.html#method__queue", "type": "method"}, {"access": "private", "host": "io", "name": "_readyState", "url": "io.html#method__readyState", "type": "method"}, {"access": "private", "host": "io", "name": "_remove", "url": "io.html#method__remove", "type": "method"}, {"access": "private", "host": "io", "name": "_serialize", "url": "io.html#method__serialize", "type": "method"}, {"access": "private", "host": "io", "name": "_setHeader", "url": "io.html#method__setHeader", "type": "method"}, {"access": "private", "host": "io", "name": "_setHeaders", "url": "io.html#method__setHeaders", "type": "method"}, {"access": "private", "host": "io", "name": "_shift", "url": "io.html#method__shift", "type": "method"}, {"access": "private", "host": "io", "name": "_size", "url": "io.html#method__size", "type": "method"}, {"access": "", "host": "io", "name": "size", "url": "io.html#method_size", "type": "method"}, {"access": "", "host": "io", "name": "start", "url": "io.html#method_start", "type": "method"}, {"access": "private", "host": "io", "name": "_startTimeout", "url": "io.html#method__startTimeout", "type": "method"}, {"access": "private", "host": "io", "name": "_stop", "url": "io.html#method__stop", "type": "method"}, {"access": "", "host": "io", "name": "stop", "url": "io.html#method_stop", "type": "method"}, {"access": "private", "host": "io", "name": "_swf", "url": "io.html#method__swf", "type": "method"}, {"access": "private", "host": "io", "name": "_timeOut", "url": "io.html#property__timeOut", "type": "property"}, {"access": "private", "host": "io", "name": "_tPubSub", "url": "io.html#method__tPubSub", "type": "method"}, {"access": "private", "host": "io", "name": "transactionId", "url": "io.html#property_transactionId", "type": "property"}, {"access": "private", "host": "io", "name": "_transport", "url": "io.html#property__transport", "type": "property"}, {"access": "", "host": "io", "name": "transport", "url": "io.html#method_transport", "type": "method"}, {"access": "private", "host": "io", "name": "_unshift", "url": "io.html#method__unshift", "type": "method"}, {"access": "private", "host": "io", "name": "_upload", "url": "io.html#method__upload", "type": "method"}, {"access": "private", "host": "io", "name": "_xdr", "url": "io.html#method__xdr", "type": "method"}, {"access": "private", "host": "io", "name": "xdrReady", "url": "io.html#method_xdrReady", "type": "method"}, {"access": "private", "host": "io", "name": "_xhr", "url": "io.html#method__xhr", "type": "method"}, {"access": "private", "host": "io", "name": "_yQ", "url": "io.html#property__yQ", "type": "property"}]; |
|
|
178 |
</script> |
|
|
179 |
</body> |
|
|
180 |
</html> |