lib/module/RequestModule.js
function RequestModule(agent, options) {
  this.agent = agent;
  this.receiveOriginal = agent._receive;
  this.timeout = options && options.timeout || TIMEOUT;
  this.queue = [];
}
function RequestModule(agent, options) {
  this.agent = agent;
  this.receiveOriginal = agent._receive;
  this.timeout = options && options.timeout || TIMEOUT;
  this.queue = [];
}
function RequestModule ( agent , options ) { this . agent = agent ; this . receiveOriginal = agent . _receive ; this . timeout = options && options . timeout || TIMEOUT ; this . queue = [ ] ; }
ms 
Create a Request module.
The module attaches a handler to the agents _receive function.
Creates a Request instance with function `request`.
@param {Agent} agent
@param {Object} [options]   Optional parameters. Can contain properties:
- timeout: number   A timeout for responses in
milliseconds. 60000 ms by
default.
ms Create a Request module . The module attaches a handler to the agents _receive function . Creates a Request instance with function request .