SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > agent-base


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/agent-base

NameTypeSizeLast ModifiedActions
.travis.yml File 309 bytes March 10 2021 14:36:36.
History.md File 3204 bytes March 10 2021 14:36:36.
README.md File 5031 bytes March 10 2021 14:36:36.
index.d.ts File 1022 bytes March 10 2021 14:36:36.
index.js File 4407 bytes March 10 2021 14:36:36.
package.json File 1738 bytes March 10 2021 14:36:36.
patch-core.js File 1424 bytes March 10 2021 14:36:36.

Reading File: //lib/node_modules/npm/node_modules/agent-base/index.d.ts

// Type definitions for agent-base 4.2.1
// Project: https://github.com/TooTallNate/node-agent-base
// Definitions by: Christopher Quadflieg <https://github.com/Shinigami92>

/// <reference types="node" />
import { EventEmitter } from 'events';

declare namespace Agent {
	export type AgentCallback = (
		req?: any,
		opts?: {
			secureEndpoint: boolean;
		}
	) => void;

	export interface AgentOptions {
		timeout?: number;
		host?: string;
		port?: number;
		[key: string]: any;
	}

	export interface Agent extends EventEmitter {
		_promisifiedCallback: boolean;
		timeout: number | null;
		options?: AgentOptions;
		callback: AgentCallback;
		addRequest: (req?: any, opts?: any) => void;
		freeSocket: (socket: any, opts: any) => void;
	}
}

/**
 * Base `http.Agent` implementation.
 * No pooling/keep-alive is implemented by default.
 */
declare function Agent(opts?: Agent.AgentOptions): Agent.Agent;
declare function Agent(
	callback: Agent.AgentCallback,
	opts?: Agent.AgentOptions
): Agent.Agent;

export = Agent;

SILENT KILLER Tool