1 <!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-data.Request-method-constructor'><span id='Ext-data.Request'>/**
2 </span></span> * @author Ed Spencer
3 * @class Ext.data.Request
6 * <p>Simple class that represents a Request that will be made by any {@link Ext.data.proxy.Server} subclass.
7 * All this class does is standardize the representation of a Request as used by any ServerProxy subclass,
8 * it does not contain any actual logic or perform the request itself.</p>
11 * @param {Object} config Optional config object
13 Ext.define('Ext.data.Request', {
14 <span id='Ext-data.Request-cfg-action'> /**
15 </span> * @cfg {String} action The name of the action this Request represents. Usually one of 'create', 'read', 'update' or 'destroy'
19 <span id='Ext-data.Request-cfg-params'> /**
20 </span> * @cfg {Object} params HTTP request params. The Proxy and its Writer have access to and can modify this object.
24 <span id='Ext-data.Request-cfg-method'> /**
25 </span> * @cfg {String} method The HTTP method to use on this Request (defaults to 'GET'). Should be one of 'GET', 'POST', 'PUT' or 'DELETE'
29 <span id='Ext-data.Request-cfg-url'> /**
30 </span> * @cfg {String} url The url to access on this Request
34 constructor: function(config) {
35 Ext.apply(this, config);
37 });</pre></pre></body></html>