Request context inside middleware?
Hi,
Is it possible to get the request context inside a middleware somehow?
I'm trying to migrate a Express Based API
6 Replies
the way you're doing it is correct
@sachin I get a type error though


Fixed that by making context property optional but getting undefined error on the req.headers line

Also fixed by returning req, res in HTTP context
Closing the post