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

feat(client): add capture_connection #1

Closed
wants to merge 1 commit into from
Closed

Conversation

rcoh
Copy link
Owner

@rcoh rcoh commented Feb 13, 2023

Add capture_connection functionality. This allows callers to retrieve the Connected struct of the connection that was used internally by Hyper. This is in service of hyperium#2605.

Although this uses http::Extensions under the hood, the API exposed explicitly hides that detail.

@rcoh rcoh force-pushed the capture-connection branch from 68e6b82 to 8efef9e Compare February 13, 2023 19:46
@rcoh rcoh changed the title Capture connection feat(client): add capture_connection Feb 13, 2023
@rcoh rcoh force-pushed the capture-connection branch 2 times, most recently from 7fd6e37 to 0f29e2c Compare February 13, 2023 20:04
Add `capture_connection` functionality. This allows callers to retrieve the `Connected` struct of the connection that was used internally by Hyper. This is in service of hyperium#2605.

Although this uses `http::Extensions` under the hood, the API exposed explicitly hides that detail.
@rcoh rcoh force-pushed the capture-connection branch from 0f29e2c to a8b5029 Compare February 13, 2023 20:47
@rcoh rcoh marked this pull request as ready for review February 13, 2023 21:21
@rcoh rcoh closed this Feb 13, 2023
@rcoh rcoh reopened this Feb 13, 2023
@rcoh rcoh changed the base branch from 0.14.x to master February 13, 2023 21:23
@rcoh rcoh changed the base branch from master to 0.14.x February 13, 2023 21:23
@rcoh rcoh closed this Feb 13, 2023
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.

1 participant