完成中转仓管理
This commit is contained in:
8
datav/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts
generated
vendored
Normal file
8
datav/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type * as http from 'http';
|
||||
export type BodyParserLikeRequest = http.IncomingMessage & {
|
||||
body?: any;
|
||||
};
|
||||
/**
|
||||
* Fix proxied body if bodyParser is involved.
|
||||
*/
|
||||
export declare function fixRequestBody<TReq extends BodyParserLikeRequest = BodyParserLikeRequest>(proxyReq: http.ClientRequest, req: TReq): void;
|
||||
Reference in New Issue
Block a user