Sha256: ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43
Contents?: true
Size: 780 Bytes
Versions: 31
Compression:
Stored size: 780 Bytes
Contents
import Agent from './agent' import buildConnector from './connector'; import Dispatcher from './dispatcher' import { IncomingHttpHeaders } from './header' export default ProxyAgent declare class ProxyAgent extends Dispatcher { constructor(options: ProxyAgent.Options | string) dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; close(): Promise<void>; } declare namespace ProxyAgent { export interface Options extends Agent.Options { uri: string; /** * @deprecated use opts.token */ auth?: string; token?: string; headers?: IncomingHttpHeaders; requestTls?: buildConnector.BuildOptions; proxyTls?: buildConnector.BuildOptions; clientFactory?(origin: URL, opts: object): Dispatcher; } }
Version data entries
31 entries across 31 versions & 4 rubygems