UNPKG
create-lbgcli
Version:
latest (1.0.2)
1.0.2
前端脚手架模板
create-lbgcli
/
template-pc
/
node_modules
/
http-proxy-middleware
/
dist
/
handlers
/
fix-request-body.d.ts
7 lines
(6 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
5
6
7
/// <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
;