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

support Faraday persistent connection closing #793

Merged
merged 3 commits into from
Feb 9, 2020

Conversation

binarycode
Copy link
Contributor

Faraday as of v1.0.0 added a new close method (see lostisland/faraday#1069 and lostisland/faraday#1091) that allows to have persistent connections that are closed manually. This PR adds support of this method to VCR::Middleware::Faraday by delegating to underlying adapter if adapter supports persistent connections.

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This neatly adds close support to the Middleware!

Thanks a lot for providing this.

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.

None yet

3 participants