⚝
One Hat Cyber Team
⚝
Your IP:
18.116.204.50
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
node_modules
/
npm
/
node_modules
/
agent-base
/
View File Name :
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;