mirror of
https://github.com/aurora-opensource/xviz.git
synced 2026-01-18 14:07:46 +00:00
Proper module to replace our adhoc server script with a structured middleware-based implementation. Key documents are: - RFC ./dev-docs/004-server-module-rfc.md - User Docs ./docs/api-reference/server - Module Readme ./modules/server/README.md
561 B
561 B
XVIZSession Interface
An object satisfying this interface is returned by an XVIZHandler to manage the socket and messages. The session is responsible for for routing the socket message through the XVIZServerMiddlewareStack.
Interface Methods
onConnect()
This marks the beginning of a connect that will be handled by this session. The concrete class implementing this function should be passed all necessary state in the constructor.