function DC_request(aRequest, aOnResponse) {
    if (!this._connected) {
      throw Error("Have not yet received a hello packet from the server.");
    }
    if (!aRequest.to) {
      let type = aRequest.type || "";
      throw Error("'" + type + "' request packet has no destination.");
    }

    this._pendingRequests.push({ to: aRequest.to,
                                 request: aRequest,
                                 onResponse: aOnResponse });
    this._sendRequests();
  }
/**
   * Send a request to the debugging server.
   *
   * @param aRequest object
   *        A JSON packet to send to the debugging server.
   * @param aOnResponse function
   *        If specified, will be called with the response packet when
   *        debugging server responds.
   */
Send a request to the debugging server.
@param aRequest object
A JSON packet to send to the debugging server.
@param aOnResponse function
If specified, will be called with the response packet when
debugging server responds.
Send a request to the debugging server . @param aRequest object A JSON packet to send to the debugging server . @param aOnResponse function If specified will be called with the response packet when debugging server responds .
function DC_request(aRequest, aOnResponse) {
    if (!this._connected) {
      throw Error("Have not yet received a hello packet from the server.");
    }
    if (!aRequest.to) {
      let type = aRequest.type || "";
      throw Error("'" + type + "' request packet has no destination.");
    }
    this._pendingRequests.push({ to: aRequest.to,
                                 request: aRequest,
                                 onResponse: aOnResponse });
    this._sendRequests();
  }
function DC_request ( aRequest , aOnResponse ) { if ( ! this . _connected ) { throw Error ( "Have not yet received a hello packet from the server." ) ; } if ( ! aRequest . to ) { let type = aRequest . type || "" ; throw Error ( "'" + type + "' request packet has no destination." ) ; } this . _pendingRequests . push ( { to : aRequest . to , request : aRequest , onResponse : aOnResponse } ) ; this . _sendRequests ( ) ; }
Send a request to the debugging server.
Send a request to the debugging server .