site/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts

15 lines
469 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
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