UNPKG

http-proxy-middleware

Version:

The one-liner node.js proxy middleware for connect, express and browser-sync

7 lines (6 loc) 224 B
/// <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;