yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
233 stars 85 forks source link

Refactoring to re-use HTTP client in storage client #102

Closed DoumanAsh closed 1 year ago

DoumanAsh commented 1 year ago

This PR changes the way HTTP client is used. Instead of creating HTTP client every request, it initializes it once or allows user to pass it to allow API calls to benefit from connection pooling in hyper

yoshidan commented 1 year ago

Thanks for your contributing. I will merge this PR when CI passes. Please cargo fmt to fix CI error.

DoumanAsh commented 1 year ago

I applied fmt