factory.d.ts 296 B

123
  1. import type { Options, RequestHandler, NextFunction } from './types';
  2. import type * as http from 'http';
  3. export declare function createProxyMiddleware<TReq = http.IncomingMessage, TRes = http.ServerResponse, TNext = NextFunction>(options: Options<TReq, TRes>): RequestHandler<TReq, TRes, TNext>;