the-forest/client/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts

7 lines
224 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
/// <reference types="node" />
import type * as http from 'http';
/**
* Fix proxied body if bodyParser is involved.
*/
export declare function fixRequestBody(proxyReq: http.ClientRequest, req: http.IncomingMessage): void;