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

8 lines
329 B
TypeScript

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>;