You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for a way to access shared server state from hapi-plugin-websocket's lower-level event handlers (connect, disconnect, and error). For a normal request, I could access this via request.server.app, but that's not an option for these event handlers.
Can/should they be extended to, e.g., offer server or app within the PluginState object or as an additional parameter?
The text was updated successfully, but these errors were encountered:
I'm looking for a way to access shared server state from hapi-plugin-websocket's lower-level event handlers (
connect
,disconnect
, anderror
). For a normal request, I could access this viarequest.server.app
, but that's not an option for these event handlers.Can/should they be extended to, e.g., offer
server
orapp
within the PluginState object or as an additional parameter?The text was updated successfully, but these errors were encountered: