Help
ping
Launches an asynchronous ping request. You typically do not call ping because initialize starts a timer that regularly calls ping.
Syntax
ping(Object options) : Boolean
Parameters
Returns
True when the ping request is successfully launched; otherwise false. You get the ping completion status in callback.
Example
This example pings the server. It assumes DEJS_API.initialize has already successfully been called.
function pingHandler(options, success) {
  if (success) {
    alert('in callback; ping completed successfully');
  } else {
    alert('in callback: ping failed!');
  }
}

DEJS_API.ping({ callback: pingHandler , timeout: 15000 });
See Also
asyncHandler initialize