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