We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#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.
req: express.Request
req: http.IncomingMessage
secure
query
No response
The text was updated successfully, but these errors were encountered:
This is a problem for me as well.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the feature you'd love to see
#603 reworked some types, but changed
to
this changed
req: express.Request
toreq: http.IncomingMessage
which loses some properties likesecure
,query
etc.Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: