Skip to content

Conversation

Muffeter
Copy link
Contributor

@Muffeter Muffeter commented Apr 7, 2025

type ClientBuilder = hyper::client::conn::http1::Builder;
type ServerBuilder = hyper::server::conn::http1::Builder;

This pull request includes changes to the examples/http_proxy.rs file to improve code readability and maintainability by introducing type aliases for the hyper::client::conn::http1::Builder and hyper::server::conn::http1::Builder types.

Code readability and maintainability improvements:

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.

Very nice improvement, thanks for taking the time!

@seanmonstar seanmonstar merged commit ea5b49b into hyperium:master Apr 7, 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.

2 participants