<!DOCTYPE html>
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>The source code</title>
|
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
|
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
|
<style type="text/css">
|
.highlight { display: block; background-color: #ddd; }
|
</style>
|
<script type="text/javascript">
|
function highlight() {
|
document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
|
}
|
</script>
|
</head>
|
<body onload="prettyPrint(); highlight();">
|
<pre class="prettyprint lang-js">// @tag enterprise
|
<span id='Ext-data-amf-Proxy'>/**
|
</span> * The AMF Proxy is an {@link Ext.data.proxy.Ajax Ajax Proxy} that requests
|
* binary data from a remote server and parses it into records using an
|
* {@link Ext.data.amf.Reader AMF Reader} for use in a
|
* {@link Ext.data.Store Store}.
|
*
|
* Ext.create('Ext.data.Store', {
|
* model: 'Foo',
|
* proxy: {
|
* type: 'amf',
|
* url: 'some/url'
|
* }
|
* });
|
*
|
* For a detailed tutorial on using AMF data see the [AMF Guide](#/guide/amf).
|
*/
|
Ext.define('Ext.data.amf.Proxy', {
|
extend: 'Ext.data.proxy.Ajax',
|
|
alias: 'proxy.amf',
|
|
requires: [
|
'Ext.data.amf.Reader'
|
],
|
|
<span id='Ext-data-amf-Proxy-cfg-binary'> /**
|
</span> * @cfg
|
* @inheritdoc
|
*/
|
binary: true,
|
|
<span id='Ext-data-amf-Proxy-cfg-reader'> /**
|
</span> * @cfg
|
* @inheritdoc
|
*/
|
reader: 'amf'
|
});
|
|
|
</pre>
|
</body>
|
</html>
|