Skip to content

Commit 12530eb

Browse files
committed
README: explain that read_all reads until shutdown
1 parent 14ae3cf commit 12530eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ let run_client ~net ~addr =
391391
Switch.run ~name:"client" @@ fun sw ->
392392
traceln "Client: connecting to server";
393393
let flow = Eio.Net.connect ~sw net addr in
394+
(* Read all data until end-of-stream (shutdown): *)
394395
traceln "Client: received %S" (Eio.Flow.read_all flow)
395396
```
396397

0 commit comments

Comments
 (0)