Feature request : request-scoped variable

It accessible globally throughout the request lifecycle or application using req.variablename . We can attach the variable to the req object in a middleware.

req.userid = sessionId //we can access the request-scoped variable globally

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ’‘ Feature Request

Date

Over 1 year ago

Author

yp

Subscribe to post

Get notified by email when there are changes.