-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language and net examples #3
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Would probably make sense to "backport" some of my comments to the examples from the net library.
|
||
bytes := 0 | ||
while data := response.read: | ||
bytes += data.size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
Co-authored-by: Florian Loitsch <[email protected]>
No description provided.