8 lines
233 B
TypeScript
8 lines
233 B
TypeScript
|
/// <reference types="node" />
|
||
|
import { Readable } from 'stream';
|
||
|
export interface ProxyResponse {
|
||
|
statusCode: number;
|
||
|
buffered: Buffer;
|
||
|
}
|
||
|
export default function parseProxyResponse(socket: Readable): Promise<ProxyResponse>;
|