The goog.net Namespace

The goog.net.BrowserChannel Class

Encapsulates the logic for a single BrowserChannel. … more

The goog.net.BrowserTestChannel Class

Encapsulates the logic for a single BrowserTestChannel. … more

The goog.net.BulkLoader Class

Class used to load multiple URIs. … more

The goog.net.BulkLoaderHelper Class

Helper class used to load multiple URIs. … more

The goog.net.ChannelDebug Class

Logs and keeps a buffer of debugging info for the Channel. … more

The goog.net.ChannelRequest Class

Creates a ChannelRequest object which encapsulates a request to the server. A new ChannelRequest is created for each request to the server. … more

The goog.net.Cookies Class

A class for handling browser cookies. … more

The goog.net.CrossDomainRpc Class

Creates a new instance of cross domain RPC … more

The goog.net.DefaultXmlHttpFactory Class

Default factory to use when creating xhr objects. You probably shouldn't be instantiating this directly, but rather using it via goog.net.XmlHttp. … more

The goog.net.ErrorCode Enum

Error codes … more

The goog.net.EventType Enum

Event names for network events … more

The goog.net.FileDownloader Class

A class for downloading remote files and storing them locally using the HTML5 filesystem API. … more

The goog.net.HttpStatus Enum

HTTP Status Codes defined in RFC 2616. … more

The goog.net.IframeIo Class

Class for managing requests via iFrames. … more

The goog.net.IframeLoadMonitor Class

The correct way to determine whether an iframe has completed loading is different in IE and Firefox. This class abstracts above these differences, providing a consistent interface for:

  1. Determing if an iframe is currently loaded
  2. Listening for an iframe that is not currently loaded, to finish loading
… more

The goog.net.ImageLoader Class

Image loader utility class. Raises a {@link goog.events.EventType.LOAD} event for each image loaded, with an {@link Image} object as the target of the event, normalized to have {@code naturalHeight} and {@code naturalWidth} attributes. To use this class, run:

   var imageLoader = new goog.net.ImageLoader();
   goog.events.listen(imageLoader, goog.net.EventType.COMPLETE,
       function(e) { ... });
   imageLoader.addImage("image_id", "http://path/to/image.gif");
   imageLoader.start();
 
The start() method must be called to start image loading. Images can be added and removed after loading has started, but only those images added before start() was called will be loaded until start() is called again. A goog.net.EventType.COMPLETE event will be dispatched only once all outstanding images have completed uploading. … more

The goog.net.IpAddress Class

Abstract class defining an IP Address. Please use goog.net.IpAddress static methods or goog.net.Ipv4Address/Ipv6Address classes. … more

The goog.net.Ipv4Address Class

Takes a string or a number and returns a IPv4 Address. This constructor accepts strings and instance of goog.math.Integer. If you pass a goog.math.Integer, make sure that its sign is set to positive. … more

The goog.net.Ipv6Address Class

Takes a string or a number and returns an IPv6 Address. This constructor accepts strings and instance of goog.math.Integer. If you pass a goog.math.Integer, make sure that its sign is set to positive. … more

The goog.net.Jsonp Class

Creates a new cross domain channel that sends data to the specified host URL. By default, if no reply arrives within 5s, the channel assumes the call failed to complete successfully. … more

The goog.net.MockIFrameIo Class

Mock implenetation of goog.net.IframeIo. This doesn't provide a mock implementation for all cases, but it's not too hard to add them as needed. … more

The goog.net.MockXhrLite Class

Deprecated. Use goog.testing.net.XhrIo.

Mock implementation of goog.net.XhrLite. This doesn't provide a mock implementation for all cases, but it's not too hard to add them as needed. … more

The goog.net.MultiIframeLoadMonitor Class

Provides a wrapper around IframeLoadMonitor, to allow the caller to wait for multiple iframes to load. … more

The goog.net.NetworkTester Class

Creates an instance of goog.net.NetworkTester which can be used to test for internet connectivity by seeing if an image can be loaded from google.com. It can also be tested with other URLs. … more

The goog.net.WebSocket Class

Class encapsulating the logic for using a WebSocket. … more

The goog.net.WrapperXmlHttpFactory Class

An xhr factory subclass which can be constructed using two factory methods. This exists partly to allow the preservation of goog.net.XmlHttp.setFactory() with an unchanged signature. … more

The goog.net.XhrIo Class

Basic class for handling XMLHttpRequests. … more

The goog.net.XhrIoPool Class

A pool of XhrIo objects. … more

The goog.net.XhrLite Class

Deprecated. Use goog.net.XhrIo instead.

Basic class for handling XmlHttpRequests. … more

The goog.net.XhrLitePool Class

Deprecated. Use goog.net.XhrIoPool.

A pool of XhrLite objects. … more

The goog.net.XhrManager Class

A manager of an XhrIoPool. … more

The goog.net.XmlHttp Namespace

Static class for creating XMLHttpRequest objects. … more

The goog.net.XmlHttpFactory Class

Abstract base class for an XmlHttpRequest factory. … more

The goog.net.cookies Namespace {goog.net.Cookies}

A static default instance. … more

The goog.net.jsloader Namespace

… more

The goog.net.testdata Namespace

… more

The goog.net.tmpnetwork Namespace

… more

The goog.net.xpc Namespace

… more