Skip to content

docs(service): add HttpService documentation #3869

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

cratelyn
Copy link
Member

@cratelyn cratelyn commented Apr 2, 2025

this commit introduces some additional documentation to the HttpService trait, and the Service trait.

notably, this commit introduces some intradoc links, so that rustdoc will render links to types like http::Request and http::Response, or to the Body trait.

additionally, mention of hyper-util is added to the Service trait, to direct users to the glue implementations that they will likely need to interact with e.g. tower.

this commit introduces some additional documentation to the
`HttpService` trait, and the `Service` trait.

notably, this commit introduces some intradoc links, so that rustdoc
will render links to types like `http::Request` and `http::Response`, or
to the `Body` trait.

additionally, mention of `hyper-util` is added to the `Service` trait,
to direct users to the glue implementations that they will likely need
to interact with e.g. `tower`.

Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
cratelyn added a commit to cratelyn/hyper-util that referenced this pull request Apr 2, 2025
this commit introduces some additional documentation to the `service`
submodule, and the glue types like `TowerToHyperService` and
`TowerToHyperServiceFuture`.

links to relevant related documentation like `hyper::service`, and the
documentation of `tower::Service`.

this is closely related to hyperium/hyper#3869, which proposes a similar
documentation pass over `hyper`'s own `service` facilities.

Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
seanmonstar pushed a commit to hyperium/hyper-util that referenced this pull request Apr 4, 2025
this commit introduces some additional documentation to the `service`
submodule, and the glue types like `TowerToHyperService` and
`TowerToHyperServiceFuture`.

links to relevant related documentation like `hyper::service`, and the
documentation of `tower::Service`.

this is closely related to hyperium/hyper#3869, which proposes a similar
documentation pass over `hyper`'s own `service` facilities.

Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

💪

@seanmonstar seanmonstar merged commit ede24d2 into hyperium:master Apr 4, 2025
22 checks passed
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.

None yet

2 participants