8 lines
233 B
TypeScript
Raw Normal View History

2023-07-20 19:00:23 +08:00
/// <reference types="node" />
import { Readable } from 'stream';
export interface ProxyResponse {
statusCode: number;
buffered: Buffer;
}
export default function parseProxyResponse(socket: Readable): Promise<ProxyResponse>;