-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add a complete simple use case for how to download a page and use its contents for the client #532
Labels
A-docs
Area: documentation.
Comments
My vote here is to provide two client examples:
|
Yeah More docs please. I Couldn't even get google.com it gave me this error.
|
|
I've got no idea what I thought was broken. Forgive me :) |
Closing in favor of #805 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current documentation is complete nor very beginner friendly:
Things that should be added:
For example if you just add
And then try to read the body with this additional code to the example:
You will get the following error:
Which is not clear for beginners since the documentation says that this function is implemented for the Response.
The missing code was:
or
Please provide a complete tutorial on how to correctly download a page and use its contents in a idiomatic rust way. Extra points for good error handling also.
The text was updated successfully, but these errors were encountered: