Interface nsIDashboardType

The dashboard service. The async API returns JSONs, which hold arrays with the required info. Only one request of each type may be pending at any time.

Hierarchy

Properties

enableLogging: boolean

When true, the service will log websocket events

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Returns string

  • aProtocol: a transport layer protocol: ex: "ssl", "tcp", default is "tcp". aHost: the host's name aPort: the port which the connection will open on aTimeout: the timespan before the connection will be timed out

    Parameters

    • aHost: string
    • aPort: number
    • aProtocol: string
    • aTimeout: number
    • cb: nsINetDashboardCallback

    Returns void

  • Resolve HTTPS RRs for host name aHost: host name

    Parameters

    • aHost: string
    • cb: nsINetDashboardCallback

    Returns void

  • Arrays: hostname, family, hostaddr, expiration

    Parameters

    • cb: nsINetDashboardCallback

    Returns void

  • DNS resolver for host name aHost: host name

    Parameters

    • aHost: string
    • cb: nsINetDashboardCallback

    Returns void

  • Arrays: host, port, spdy, ssl Array of arrays: active, idle

    Parameters

    • cb: nsINetDashboardCallback

    Returns void

  • Asyncly returns stats regarding the "Race Cache With Network" feature.

    Parameters

    • cb: nsINetDashboardCallback

    Returns void

  • Arrays: host, port, tcp, active, socksent, sockreceived Values: sent, received

    Parameters

    • cb: nsINetDashboardCallback

    Returns void

  • Arrays: hostport, encrypted, msgsent, msgreceived, sentsize, receivedsize

    Parameters

    • cb: nsINetDashboardCallback

    Returns void

Generated using TypeDoc