1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6 dictionary SocketElement {
8 unsigned long port = 0;
9 boolean active = false;
15 dictionary SocketsDict {
16 sequence<SocketElement> sockets;
21 dictionary HttpConnInfo {
22 unsigned long rtt = 0;
23 unsigned long ttl = 0;
24 DOMString protocolVersion = "";
27 dictionary HalfOpenInfoDict {
28 boolean speculative = false;
31 dictionary HttpConnectionElement {
33 unsigned long port = 0;
36 sequence<HttpConnInfo> active;
37 sequence<HttpConnInfo> idle;
38 sequence<HalfOpenInfoDict> halfOpens;
41 dictionary HttpConnDict {
42 sequence<HttpConnectionElement> connections;
45 dictionary WebSocketElement {
46 DOMString hostport = "";
47 unsigned long msgsent = 0;
48 unsigned long msgreceived = 0;
50 double receivedsize = 0;
51 boolean encrypted = false;
54 dictionary WebSocketDict {
55 sequence<WebSocketElement> websockets;
58 dictionary DnsCacheEntry {
59 DOMString hostname = "";
60 sequence<DOMString> hostaddr;
61 DOMString family = "";
62 double expiration = 0;
65 dictionary DNSCacheDict {
66 sequence<DnsCacheEntry> entries;
69 dictionary DNSLookupDict {
70 sequence<DOMString> address;
72 boolean answer = false;
75 dictionary ConnStatusDict {
76 DOMString status = "";