Uh oh!
There was an error while loading. Please reload this page.
Language and net examples - #3
Conversation
floitsch
left a comment
There was a problem hiding this comment.
LGTM.
Would probably make sense to "backport" some of my comments to the examples from the net library.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| bytes := 0 | ||
| while data := response.read: | ||
| bytes += data.size |
There was a problem hiding this comment.
I think our example should do more.
Now I would need to look up another example to figure out how to actually deal with the data.
If you know how to easily handle the data, it should be trivial to change it to something more useful.
If you don't then it shows that we are missing something here... ;)
| bytes +=data.size | |
| // Discard the data from the server, and just count the number of bytes. | |
| bytes += data.size |
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
Co-authored-by: Florian Loitsch <florian@toitware.com>
No description provided.