Skip to content

Commit 1032205

Browse files
authored
Merge pull request #28 from carpentry-org/claude/fix-stale-docs
Fix stale documentation
2 parents 8e8ec38 + ca8d52d commit 1032205

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ and a `WebSocket` handle for sending messages:
177177
(match-ref event
178178
(WSEvent.Connect) (WebSocket.send ws @"connected")
179179
(WSEvent.Message msg) (WebSocket.send ws (fmt "echo: %s" msg))
180+
(WSEvent.Binary data) (WebSocket.send-binary ws data)
180181
(WSEvent.Close) ()))
181182

182183
(defserver "0.0.0.0" 3000
@@ -186,8 +187,8 @@ and a `WebSocket` handle for sending messages:
186187

187188
The upgrade handshake (RFC 6455) is handled automatically. Once upgraded,
188189
the connection uses WebSocket framing over the same non-blocking event
189-
loop. Text frames, ping/pong, and close frames are supported. Binary
190-
frames are not yet supported.
190+
loop. Text frames, binary frames, ping/pong, and close frames are
191+
supported.
191192

192193
### Concurrent connections
193194

bench/ws_bench.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import sys
99
import time
1010

11-
sys.path.insert(0, "/Users/veitheller/Library/Python/3.9/lib/python/site-packages")
1211
import websockets
1312

1413
CLIENTS = 50

bench/ws_bench_small.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import sys
55
import time
66

7-
sys.path.insert(0, "/Users/veitheller/Library/Python/3.9/lib/python/site-packages")
87
import websockets
98

109
CLIENTS = 10

examples/todo/server.carp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(load "git@github.com:carpentry-org/web@0.3.0")
1+
(load "git@github.com:carpentry-org/web@0.5.0")
22
(load "git@github.com:carpentry-org/orm@0.1.0" "backends/sqlite3.carp")
33

44
; ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)