HttpDataRequest & HttpDataProvider & lz.Params

lz.HTTPDataRequest implements the DataRequest interface, to support HTTP data requests.


lz.HTTPDataProvider implements the DataProvider interface, to support HTTP data requests.

Requests are submitted using the doRequest, passing a request object of type lz.HTTPDataRequest. And instance of lz.HTTPDataProvider is the default data provider for the runtime, and is what is used by <dataset> to load data.

onstatus: Sent to a datarequest to update the status of the request.  

 

lz.params

lz.Param provides utilities for manipulating name-value pairs. For example, lz.Param objects can be used to manage a name/value pairs for an HTTP request.


var p=new lz.Param(); 

p.addValue( "action", action, true);            

        

你可能感兴趣的:(HttpDataRequest & HttpDataProvider & lz.Params)