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
687 B
687 B
XVIZServerMiddlewareStack
XVIZServerMiddlewareStack defines and conforms to the Middleware Interface and routes messages through the middleware stack.
It serves as the entrypoint to the entire middleware dataflow.
Constructor
XVIZServerMiddlewareStack(middlewares)
Parameters:
middlewares(Array) - Set of middleware components
Methods
set(middlewares)
Sets the middleware stack.
Useful when you must construct the stack after construction of the XVIZServerMiddlewareStack instance due to it being a dependency of a middleware component.
Parameters:
middlewares(Array) - Set of middleware components