2013-04-14 18:32:06 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2013-11-20 06:29:01 -08:00
|
|
|
dictionary SocketElement {
|
|
|
|
DOMString host = "";
|
|
|
|
unsigned long port = 0;
|
|
|
|
boolean active = false;
|
|
|
|
boolean tcp = false;
|
|
|
|
double sent = 0;
|
|
|
|
double received = 0;
|
|
|
|
};
|
|
|
|
|
2013-04-14 18:32:06 -07:00
|
|
|
dictionary SocketsDict {
|
2013-11-20 06:29:01 -08:00
|
|
|
sequence<SocketElement> sockets;
|
2013-04-14 18:32:06 -07:00
|
|
|
double sent = 0;
|
|
|
|
double received = 0;
|
|
|
|
};
|
|
|
|
|
2013-11-20 06:29:01 -08:00
|
|
|
dictionary HttpConnInfo {
|
|
|
|
unsigned long rtt = 0;
|
|
|
|
unsigned long ttl = 0;
|
|
|
|
DOMString protocolVersion = "";
|
2013-04-14 18:32:06 -07:00
|
|
|
};
|
|
|
|
|
2013-07-23 07:52:01 -07:00
|
|
|
dictionary HalfOpenInfoDict {
|
2013-11-20 06:29:01 -08:00
|
|
|
boolean speculative = false;
|
2013-07-23 07:52:01 -07:00
|
|
|
};
|
|
|
|
|
2013-11-20 06:29:01 -08:00
|
|
|
dictionary HttpConnectionElement {
|
|
|
|
DOMString host = "";
|
|
|
|
unsigned long port = 0;
|
|
|
|
boolean spdy = false;
|
|
|
|
boolean ssl = false;
|
|
|
|
sequence<HttpConnInfo> active;
|
|
|
|
sequence<HttpConnInfo> idle;
|
2013-07-23 07:52:01 -07:00
|
|
|
sequence<HalfOpenInfoDict> halfOpens;
|
2013-11-20 06:29:01 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary HttpConnDict {
|
|
|
|
sequence<HttpConnectionElement> connections;
|
|
|
|
};
|
|
|
|
|
|
|
|
dictionary WebSocketElement {
|
|
|
|
DOMString hostport = "";
|
|
|
|
unsigned long msgsent = 0;
|
|
|
|
unsigned long msgreceived = 0;
|
|
|
|
double sentsize = 0;
|
|
|
|
double receivedsize = 0;
|
|
|
|
boolean encrypted = false;
|
2013-04-14 18:32:06 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary WebSocketDict {
|
2013-11-20 06:29:01 -08:00
|
|
|
sequence<WebSocketElement> websockets;
|
|
|
|
};
|
|
|
|
|
|
|
|
dictionary DnsCacheEntry {
|
|
|
|
DOMString hostname = "";
|
|
|
|
sequence<DOMString> hostaddr;
|
|
|
|
DOMString family = "";
|
|
|
|
double expiration = 0;
|
2013-04-14 18:32:06 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary DNSCacheDict {
|
2013-11-20 06:29:01 -08:00
|
|
|
sequence<DnsCacheEntry> entries;
|
2013-04-14 18:32:06 -07:00
|
|
|
};
|
2013-07-31 06:16:44 -07:00
|
|
|
|
2013-08-02 09:42:45 -07:00
|
|
|
dictionary DNSLookupDict {
|
|
|
|
sequence<DOMString> address;
|
2013-11-20 06:29:01 -08:00
|
|
|
DOMString error = "";
|
|
|
|
boolean answer = false;
|
2013-08-02 09:42:45 -07:00
|
|
|
};
|
|
|
|
|
2013-07-31 06:16:44 -07:00
|
|
|
dictionary ConnStatusDict {
|
2013-11-20 06:29:01 -08:00
|
|
|
DOMString status = "";
|
2013-07-31 06:16:44 -07:00
|
|
|
};
|