Skip to content
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

Update documentation. #73

Merged
merged 6 commits into from
Jun 21, 2020
Merged

Conversation

jsha
Copy link
Collaborator

@jsha jsha commented Jun 20, 2020

Synchronize goals section between README and rustdoc, and add two goals
(blocking API; no unsafe) that were mentioned elsewhere in the README.

Add error handling to examples for the module and for the Response
object.

And a section on synthetic errors to the top-level module documentation.

Related to #55

jsha added 5 commits June 20, 2020 12:51
Synchronize goals section between README and rustdoc, and add two goals
(blocking API; no unsafe) that were mentioned elsewhere in the README.

Add error handling to examples for the module and for the Response
object.

And a section on synthetic errors to the top-level module documentation.
@algesten
Copy link
Owner

You aware of the cargo-readme crate? It's quite handy to synch the lib.rs main doc to the README file.

@algesten algesten merged commit fdc1f37 into algesten:master Jun 21, 2020
@algesten
Copy link
Owner

This is great! Thanks!

@@ -36,8 +46,10 @@
//! which follows a build pattern. The builders are finished using:
//!
//! * [`.call()`](struct.Request.html#method.call) without a request body.
//! * [`.send()`](struct.Request.html#method.send) with a request body as `Read`.
//! * [`.send()`](struct.Request.html#method.send) with a request body as `Read` (chunked encoding).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you set a content-length header manually it doesn't do chunked, but maybe that's too much detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants