Bridge |
vegui. sk. bridge.jsSummary
Object PropertiesVegUIBridge
Summary
Object Properties
execute
This function will be called on successful response to request if the VegUIRequest’s pFunc property is not set. Be aware that you may overwrite the execute methid with your own by simply redefining it Parameters
Returns
new_request
Spawns a new XMLHttpRequest object and returns it in the form of a VegUIRequest object Parameters
poll_timeouts
Polls the Request array for any timed out requests and handles them arcordingly. May call onmaxtimeouts and ontimeout send
send a request to the server Parameters
See also<process> |
constructor
function VegUIRequest( req, id, toElement )
Removes a request from the list
this.cleanup = function( vreq )
This function will be called on successful response to request if the VegUIRequest’s pFunc property is not set.
this.execute = function( vreq )
Spawns a new XMLHttpRequest object and returns it in the form of a VegUIRequest object
this.new_request = function( toElement )
Polls the Request array for any timed out requests and handles them arcordingly.
this.poll_timeouts = function()
When a request gets a response from the server then it will go through this function where it will determine if it was a successful request or not
this.process_request = function( vreq )
send a request to the server
this.send = function( url, para, method, pFunc, sync )
this.valid_id = function()