goog.labs.net.webChannel.netUtils
Functions
expand_more
testLoadImage( url, timeout, callback ) → void
void
expand_more
testLoadImageWithRetries( url, timeout, callback, retries, channelDebug, opt_pauseBetweenRetriesMS ) → void
void
Test loading the given image, retrying if necessary.
Parameters |
|
---|
expand_more
testNetwork( callback, opt_imageUri ) → void
void
Pings the network with an image URI to check if an error is a server error or user's network error.
The caller needs to add a 'rand' parameter to make sure the response is not fulfilled by browser cache.
Parameters |
|
---|
Properties
expand_more
NETWORK_TIMEOUT → number
number
Default timeout to allow for URI pings.