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

Documentation for header_read_timeout is incomplete #3567

Closed
jorendorff opened this issue Feb 9, 2024 · 5 comments
Closed

Documentation for header_read_timeout is incomplete #3567

jorendorff opened this issue Feb 9, 2024 · 5 comments
Labels
A-docs Area: documentation. E-easy Effort: easy. A task that would be a great starting point for a new contributor.

Comments

@jorendorff
Copy link

jorendorff commented Feb 9, 2024

Three mini-issues here:

@dswij dswij added E-easy Effort: easy. A task that would be a great starting point for a new contributor. A-docs Area: documentation. labels Feb 14, 2024
@dswij
Copy link
Member

dswij commented Feb 14, 2024

The example Timer implementation for Tokio is a working example. The module is private, but we're exposing hyper::rt::{Sleep, Timer} here, which is what you'd need to implement this.

@jorendorff
Copy link
Author

I agree with all of that. I think the three points all still stand, as opportunities for improvement. Will eventually give it a shot if nobody beats me to it.

@dswij
Copy link
Member

dswij commented Feb 16, 2024

That's fair. The doc for rt::{Timer,Sleep} is also asked in #3411.

@james58899
Copy link

There is an implementation available in hyper-util, maybe this can be mentioned in the documentation.

@dswij
Copy link
Member

dswij commented Feb 29, 2024

The docs for hyper::rt will be added in hyperium/hyperium.github.io#121.

Will close this issue since we're also tracking it in #3411, and header_read_timeout docs were updated.

Thanks for the report @jorendorff !

@dswij dswij closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation. E-easy Effort: easy. A task that would be a great starting point for a new contributor.
Projects
None yet
Development

No branches or pull requests

3 participants