Class: RequestLog

RequestLog

new RequestLog()

Create a new instance of RequestLog
Properties:
Name Type Description
request Object the objects request
links Array Contains the array of links
Source:
See:
Example
Load RequestLog
		var r = new RequestLog();
		r.load({
			period:"current",
			onSuccess:function(){
				alert(JSON.stringify(r.request));
			}
		});

Methods

generateUrl()

Overrides Resource's generateUrl method to return the request url
Source:
See:

load(options)

Override Resource load method.
Parameters:
Name Type Description
options object options to be used during the call
Properties
Name Type Argument Description
period string the period to load
onSuccess Resource~onSuccess a callback function called in case of a success
onFailure Resource~onFailure <optional>
a callback function called in case of a failure
baseUrl String <optional>
base URL. If not set the current base URL will be used
Source:
See:

loadPreset()

Overrides Resource's loadPreset method.
Source:
See: