From 73ac09b4109fb90cf60ae0e04203553470164c3c Mon Sep 17 00:00:00 2001 From: MutantRabbit767 Date: Sun, 14 Sep 2025 01:24:32 -0500 Subject: [PATCH] removed AI hallucinated WebSocket states --- docs/docs/lua/network.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/docs/lua/network.md b/docs/docs/lua/network.md index 07c3683..aa8a4a4 100644 --- a/docs/docs/lua/network.md +++ b/docs/docs/lua/network.md @@ -70,18 +70,8 @@ ws:send('Hello from client!') ws:send(JSON.stringify({ type = 'chat', message = 'Hello!' })) ws:close() - -if ws.readyState == WebSocket.OPEN then - ws:send('Connected message') -end ``` -**WebSocket States:** -- `WebSocket.CONNECTING` (0) - Connection in progress -- `WebSocket.OPEN` (1) - Connection established -- `WebSocket.CLOSING` (2) - Connection closing -- `WebSocket.CLOSED` (3) - Connection closed - ## URL API URL encoding and decoding utilities for handling special characters in URLs.