Skip to content

Commit b1ffb92

Browse files
authored
README: close the buffer since HTTP.jl doesn't do this anymore. (#8)
1 parent 6ff8207 commit b1ffb92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ See the tests for examples, but in a nut shell:
1111
buff = BufferStream()
1212
t_processor = @async process(buff)
1313
HTTP.get(url, response_stream=buff)
14+
close(buff)
1415
wait(t_processor)
1516
```
1617

17-
You can `readavailable()`, `write()`, `close()`, `eof()`, etc... The implementation is really simple, so I suggest you just look at it.
18+
You can `readavailable()`, `write()`, `close()`, `eof()`, etc... The implementation is really simple, so I suggest you just look at it.

0 commit comments

Comments
 (0)