For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Detects whether the runtime can establish WebSocket connections.
if (!WebSocketFactory.isWebSocketSupported()) {
console.error('WebSockets are required for this script.')
process.exitCode = 1
}