my-idlers/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts

7 lines
224 B
TypeScript
Raw Normal View History

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