Current Situation
Currently, only Django-IDOM has access to the current websocket's scope. However, this is very commonly needed within all web frameworks to provide access to things such as user attributes, login, and logout functionality.
See #594
Proposed Actions
Create a RequestContext to be used with the upcoming use_context hook.
Work Items
- Create
RequestContext on a per web-framework basis
- Document this feature (Probably also want an example on user login/logout)
Current Situation
Currently, only Django-IDOM has access to the current websocket's
scope. However, this is very commonly needed within all web frameworks to provide access to things such as user attributes, login, and logout functionality.See #594
Proposed Actions
Create a
RequestContextto be used with the upcominguse_contexthook.Work Items
RequestContexton a per web-framework basis