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

Patron - HTTP Client #5

Merged
merged 13 commits into from
Jan 1, 2024
Merged

Patron - HTTP Client #5

merged 13 commits into from
Jan 1, 2024

Conversation

alexrudy
Copy link
Owner

@alexrudy alexrudy commented Jan 1, 2024

A hyper HTTP client with basic pooling and auto-switching support for HTTP/1.1 and HTTP/2

Initial attempt at the client implementation
Adds appropriate spans for watching trace values.
The example provides a testing framework which simply echos all requests over HTTP2, using minica to provide certificates (included in the repo).
Example to demonstrate an HTTP2 request.
Connector can be swapped between H1, H2 and Auto for flexibility. Using H2 explicitly to only allow H2 connection on the simple H2 server.
Also fixes a few bugs in re-sharing connections from the connection pool.
Adds a span and trace messages
Provide a unified metadata struct, and make it easier to access from braided streams.
@alexrudy alexrudy merged commit 0ca14ee into main Jan 1, 2024
6 checks passed
@alexrudy alexrudy deleted the patron branch January 1, 2024 19:17
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