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

Add server usage extension trait revised for hyper 1.x #72

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

iamjpotts
Copy link
Contributor

@iamjpotts iamjpotts commented Jun 10, 2024

hyperlocal had an extension method of hyper's Server - but Server no longer exists in hyper 1.0, so that extension was removed in a pre-release version of hyperlocal 0.9.

This adds a replacement extension, extending UnixListener with a serve method.

This PR is one of two potential resolutions to #70, the other being #73.

@iamjpotts iamjpotts changed the title Add server extension trait revised for hyper 1.x Add extension trait revised for hyper 1.x Jun 10, 2024
@iamjpotts iamjpotts changed the title Add extension trait revised for hyper 1.x Add server usage extension trait revised for hyper 1.x Jun 10, 2024
@iamjpotts
Copy link
Contributor Author

@softprops i noticed you approved both PRs and merged the readme update PR.

Keeping this PR as-is would revert the readme changes from the first PR, not sure if that is what you were expecting or not. In any case, the readme changes that accompany this PR make it consistent with itself.

@softprops softprops merged commit 703fd91 into softprops:main Jun 11, 2024
7 checks passed
@iamjpotts iamjpotts deleted the 20240609-update-server branch June 11, 2024 00:05
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