/** * Tests for one desktop connection to the session host. * * The host listens on the box's loopback address, reached only through the * Outpost's private port-forward. On the Mac that forward is a localhost port, * and a web page in a browser can send requests to localhost too. So the very * first line must be a JSON hello carrying the person's HQ sign-in, and nothing * else happens until it checks out: * - a browser's HTTP request, or anything that is not a hello, is refused and * the connection closed before any session is touched; * - a valid sign-in that belongs to someone other than the box's owner is * refused; * - a connection that never says hello is closed. * After that, one connection can drive several sessions at once, and closing * it never stops a session. */ export {}; //# sourceMappingURL=session-host-connection.test.d.ts.map