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 a close API and us that instead for the client #188

Merged
merged 1 commit into from Mar 27, 2015

Conversation

zanker
Copy link
Contributor

@zanker zanker commented Mar 27, 2015

For our tests, we also want to close the connection to get a clean slate, but also since it's a pattern that's repeated, rather just make it a method.

@ixti
Copy link
Member

ixti commented Mar 27, 2015

IMO the name of method is not the best. It might be only me, but having #close makes me think that there should be an #open.

Probably it should be named #close_connections or #reset!. Can't find any better names...

@tarcieri
Copy link
Member

I'm ok with #close

@sferik
Copy link
Contributor

sferik commented Mar 27, 2015

IMO, #close is a 👍 name. We could alias #persistent to #open for the sake of parallelism.

@ixti
Copy link
Member

ixti commented Mar 27, 2015

Aliasing #persistent to #open maeks sense to me. 👍

@tarcieri
Copy link
Member

Gonna go ahead and merge this then. We can loop back on persistent/open in a separate issue/PR

tarcieri added a commit that referenced this pull request Mar 27, 2015
Add a close API and us that instead for the client
@tarcieri tarcieri merged commit b13cfdc into httprb:master Mar 27, 2015
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

4 participants