Files
memecoin-botV2/.pnpm-store/v10/files/70/1b21b16c6d8c72e3df4e4a2a1a9696f33164370a39208bc823a89e370ad68b9a95d720a1d6531a6ea4bc5806276aeaf32e0d29ecfe5ae3b362b4f76bd15139

30 lines
806 B
Plaintext

import Agent from './agent'
import buildConnector from './connector'
import Dispatcher from './dispatcher'
import { OutgoingHttpHeaders } from './header'
export default ProxyAgent
declare class ProxyAgent extends Dispatcher {
constructor (options: ProxyAgent.Options | string)
dispatch (options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandler): boolean
close (): Promise<void>
}
declare namespace ProxyAgent {
export interface Options extends Agent.Options {
uri: string;
/**
* @deprecated use opts.token
*/
auth?: string;
token?: string;
headers?: OutgoingHttpHeaders;
requestTls?: buildConnector.BuildOptions;
proxyTls?: buildConnector.BuildOptions;
clientFactory?(origin: URL, opts: object): Dispatcher;
proxyTunnel?: boolean;
}
}