Lines Matching refs:Agent
45 const { Agent: HttpAgent } = require('_http_agent');
191 function Agent(options) {
192 if (!(this instanceof Agent))
193 return new Agent(options);
207 ObjectSetPrototypeOf(Agent.prototype, HttpAgent.prototype);
208 ObjectSetPrototypeOf(Agent, HttpAgent);
209 Agent.prototype.createConnection = createConnection;
221 Agent.prototype.getName = function getName(options = kEmptyObject) {
307 Agent.prototype._getSession = function _getSession(key) {
311 Agent.prototype._cacheSession = function _cacheSession(key, session) {
333 Agent.prototype._evictSession = function _evictSession(key) {
342 const globalAgent = new Agent();
373 * agent?: Agent | boolean;
406 Agent,