Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
usr
›
lib
›
node_modules
›
npm
›
node_modules
›
agent-base
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ index.d.ts
← Back
// 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;
💻
System Info
Current path
/usr/lib/node_modules/npm/node_modules/agent-base
Contents
0 folders, 7 files
Disk free
99.17 GB
PHP version
8.3.30
🚀
Quick Actions
📍 Script location
🌐 Web root
🗑️ Temp
📁 /usr/lib/node_modules/npm/node_modules/agent-base
⚡ Nexus File Manager • 7 items