Current Path: > > usr > lib > node_modules > npm > > node_modules > > agent-base
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.38 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
.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. |
// 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