securityos/node_modules/next/dist/server/lib/server-ipc/invoke-request.d.ts

8 lines
329 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { IncomingMessage } from 'http';
import type { Readable } from 'stream';
export declare const invokeRequest: (targetUrl: string, requestInit: {
headers: IncomingMessage['headers'];
method: IncomingMessage['method'];
signal?: AbortSignal;
}, readableBody?: Readable | ReadableStream) => Promise<Response>;