dom/webidl/NetDashboard.webidl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 dictionary SocketElement {
michael@0 7 DOMString host = "";
michael@0 8 unsigned long port = 0;
michael@0 9 boolean active = false;
michael@0 10 boolean tcp = false;
michael@0 11 double sent = 0;
michael@0 12 double received = 0;
michael@0 13 };
michael@0 14
michael@0 15 dictionary SocketsDict {
michael@0 16 sequence<SocketElement> sockets;
michael@0 17 double sent = 0;
michael@0 18 double received = 0;
michael@0 19 };
michael@0 20
michael@0 21 dictionary HttpConnInfo {
michael@0 22 unsigned long rtt = 0;
michael@0 23 unsigned long ttl = 0;
michael@0 24 DOMString protocolVersion = "";
michael@0 25 };
michael@0 26
michael@0 27 dictionary HalfOpenInfoDict {
michael@0 28 boolean speculative = false;
michael@0 29 };
michael@0 30
michael@0 31 dictionary HttpConnectionElement {
michael@0 32 DOMString host = "";
michael@0 33 unsigned long port = 0;
michael@0 34 boolean spdy = false;
michael@0 35 boolean ssl = false;
michael@0 36 sequence<HttpConnInfo> active;
michael@0 37 sequence<HttpConnInfo> idle;
michael@0 38 sequence<HalfOpenInfoDict> halfOpens;
michael@0 39 };
michael@0 40
michael@0 41 dictionary HttpConnDict {
michael@0 42 sequence<HttpConnectionElement> connections;
michael@0 43 };
michael@0 44
michael@0 45 dictionary WebSocketElement {
michael@0 46 DOMString hostport = "";
michael@0 47 unsigned long msgsent = 0;
michael@0 48 unsigned long msgreceived = 0;
michael@0 49 double sentsize = 0;
michael@0 50 double receivedsize = 0;
michael@0 51 boolean encrypted = false;
michael@0 52 };
michael@0 53
michael@0 54 dictionary WebSocketDict {
michael@0 55 sequence<WebSocketElement> websockets;
michael@0 56 };
michael@0 57
michael@0 58 dictionary DnsCacheEntry {
michael@0 59 DOMString hostname = "";
michael@0 60 sequence<DOMString> hostaddr;
michael@0 61 DOMString family = "";
michael@0 62 double expiration = 0;
michael@0 63 };
michael@0 64
michael@0 65 dictionary DNSCacheDict {
michael@0 66 sequence<DnsCacheEntry> entries;
michael@0 67 };
michael@0 68
michael@0 69 dictionary DNSLookupDict {
michael@0 70 sequence<DOMString> address;
michael@0 71 DOMString error = "";
michael@0 72 boolean answer = false;
michael@0 73 };
michael@0 74
michael@0 75 dictionary ConnStatusDict {
michael@0 76 DOMString status = "";
michael@0 77 };

mercurial