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

15 lines
469 B
TypeScript
Raw Normal View History

2022-01-08 17:17:05 +00:00
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { IncomingHttpHeaders } from 'http';
2022-01-08 17:17:05 +00:00
import { Readable } from 'stream';
export interface ConnectResponse {
2022-01-08 17:17:05 +00:00
statusCode: number;
statusText: string;
headers: IncomingHttpHeaders;
2022-01-08 17:17:05 +00:00
}
export declare function parseProxyResponse(socket: Readable): Promise<{
connect: ConnectResponse;
buffered: Buffer;
}>;
//# sourceMappingURL=parse-proxy-response.d.ts.map