Skip to content

docs(service): add HttpService documentation#3869

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
cratelyn:service-docs
Apr 4, 2025
Merged

docs(service): add HttpService documentation#3869
seanmonstar merged 1 commit into
hyperium:masterfrom
cratelyn:service-docs

Conversation

@cratelyn

@cratelyn cratelyn commented Apr 2, 2025

Copy link
Copy Markdown
Member

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>

@seanmonstar seanmonstar left a comment

Copy link
Copy Markdown
Member

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
@cratelyn cratelyn deleted the service-docs branch July 29, 2025 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants