UNPKG

https-proxy-agent

Version:

An HTTP(s) proxy `http.Agent` implementation for HTTPS

12 lines 376 B
import { IncomingHttpHeaders } from 'http'; import { Readable } from 'stream'; export interface ConnectResponse { statusCode: number; statusText: string; headers: IncomingHttpHeaders; } export declare function parseProxyResponse(socket: Readable): Promise<{ connect: ConnectResponse; buffered: Buffer; }>; //# sourceMappingURL=parse-proxy-response.d.ts.map