-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove version-specific prefixes from builder methods #3085
Comments
Leaving for comments for a few days. |
👍 Would it make sense to rename the builders |
So, |
Oh didn't even know that existed! Yeah seems fine to me. |
The APIs are already inconsistent today (e.g. there's Agree with this proposal, the prefixing is now an indirect stutter-naming ( |
With the split of the builders into per-version kinds (see #2842 and #2851), I feel there's a new question around whether we should remove the prefixes from the method names. They used to exist because the builders were combined over multiple HTTP versions, so the options were scoped to a version. But now:
It seems all those can have the
http1_
prefix removed, and same for thehttp2::Builder
s.Noticed in hyperium/hyper-util#11 (comment).
The text was updated successfully, but these errors were encountered: