nsIDOMMozNetworkStats

Interface of the network stats object.
Inherits from: nsISupports Last changed in Gecko 1.0

Implemented by: @mozilla.org/networkStats;1. To create an instance, use:

var networkStatsManager = Components.classes["@mozilla.org/networkStats;1"]
                    .createInstance(Components.interfaces.nsIDOMNetworkStats); 

Attributes

Attribute Type Description
connectionType DOMString Connection type of the stats. Read only.
data nsIDOMMozNetworkStatsData array Stats samples. Read only.
start Date Start date of the stats samples. Read only.
end Date End date of the stats samples. Read only.

See also