removed AI hallucinated WebSocket states

This commit is contained in:
MutantRabbit767
2025-09-14 01:24:32 -05:00
parent c0a34f09c5
commit 73ac09b410

View File

@@ -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.