fix-request-body.d.ts 250 B

1234567
  1. /// <reference types="node" />
  2. import { ClientRequest } from 'http';
  3. import type { Request } from '../types';
  4. /**
  5. * Fix proxied body if bodyParser is involved.
  6. */
  7. export declare function fixRequestBody(proxyReq: ClientRequest, req: Request): void;