aboutsummaryrefslogtreecommitdiff
path: root/docs/net/websocket.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/net/websocket.md')
-rw-r--r--docs/net/websocket.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/net/websocket.md b/docs/net/websocket.md
index 5a82a70..f64f80a 100644
--- a/docs/net/websocket.md
+++ b/docs/net/websocket.md
@@ -11,11 +11,11 @@ can return an error
```lua
net.wss("amyy.cc") -- connects to wss://amyy.cc
-net.wss("ws://amyy.cc") -- identical to net.wss("amyy.cc"
+net.wss("ws://amyy.cc") -- identical to net.wss("amyy.cc")
```
```lua
-local con = new.ws("amyy.cc")
+local con = net.ws("amyy.cc")
while true do
local frame = con:read()