Describe the feature you'd love to see
#603 reworked some types, but changed
// Request is extending express.Request
onProxyReq?(proxyReq: http.ClientRequest, req: Request, res: Response): void;
to
export type OnProxyReqCallback = (
proxyReq: http.ClientRequest,
req: http.IncomingMessage,
res: http.ServerResponse,
options: httpProxy.ServerOptions
) => void;
this changed req: express.Request to req: http.IncomingMessage which loses some properties like secure, query etc.
Additional context (optional)
No response
Describe the feature you'd love to see
#603 reworked some types, but changed
to
this changed
req: express.Requesttoreq: http.IncomingMessagewhich loses some properties likesecure,queryetc.Additional context (optional)
No response