helpers/virtual_desktop_routes.py.dox.md
virtual_desktop_routes.py helper module.virtual_desktop_routes.py because this directory is intentionally flat.virtual_desktop_routes.py owns the runtime implementation.virtual_desktop_routes.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.VirtualDesktopGateway (no explicit base class)
async http(self, scope: Scope, receive: Receive, send: Send) -> Noneasync resize(self, scope: Scope, receive: Receive, send: Send) -> Noneasync proxy_http(self, scope: Scope, receive: Receive, send: Send, token: str, upstream_path: str) -> Noneasync websocket(self, scope: Scope, receive: Receive, send: Send) -> Noneasync open_websocket(self, endpoint: virtual_desktop.VirtualDesktopEndpoint, target: str, subprotocols: tuple[str, ...]) -> tuple[asyncio.StreamReader, asyncio.StreamWriter, WSConnection, str | None]async browser_to_xpra(self, websocket: WebSocket, upstream: WSConnection, writer: asyncio.StreamWriter) -> Noneasync xpra_to_browser(self, websocket: WebSocket, upstream: WSConnection, reader: asyncio.StreamReader, writer: asyncio.StreamWriter) -> Nonesession_request(self, path: str) -> tuple[str, str] | Noneinstall_route_hooks() -> Noneis_installed() -> boolHOP_BY_HOP_HEADERS, XPRA_MENU_CUSTOM_PATCH, XPRA_WINDOW_OFFSET_WARNING, XPRA_WINDOW_OFFSET_WARNING_PATCH, XPRA_WINDOW_SCRIPT, XPRA_WINDOW_SCRIPT_PATCH.__future__, asyncio, flask.sessions, helpers, http.client, http.cookies, starlette.requests, starlette.responses, starlette.types, starlette.websockets, urllib.parse, wsproto, wsproto.events.self.relative_path, self.session_request, self.query, virtual_desktop.proxy_for_token, WebSocket, self.upstream_target, WSConnection, writer.write, rest.partition, unquote, quote, http.client.HTTPConnection, query_string.decode, urlsplit, location.startswith, path.startswith, parse_qs, login.get_credentials_hash, SecureCookieSessionInterface.get_signing_serializer, dict.get.decode.tests/test_office_canvas_setup.pytests/test_office_document_store.pyNo child DOX files.