W3cubDocs

/Dojo

dojo/data/api/Request

Summary

This class defines out the semantics of what a 'Request' object looks like when returned from a fetch() method. In general, a request object is nothing more than the original keywordArgs from fetch with an abort function attached to it to allow users to abort a particular request if they so choose. No other functions are required on a general Request object return. That does not inhibit other store implementations from adding extensions to it, of course.

This is an abstract API that data provider implementations conform to. This file defines methods signatures and intentionally leaves all the methods unimplemented.

For more details on fetch, see dojo/data/api/Read.fetch().

See the dojo/data/api/Request reference documentation for more information.

Methods

abort()

Defined by dojo/data/api/Request

This function is a hook point for stores to provide as a way for a fetch to be halted mid-processing.

This function is a hook point for stores to provide as a way for a fetch to be halted mid-processing. For more details on the fetch() api, please see dojo/data/api/Read.fetch().

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/data/api/Request.html