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

Allow call #persistent with block #201

Merged
merged 2 commits into from
Apr 2, 2015
Merged

Conversation

ixti
Copy link
Member

@ixti ixti commented Apr 2, 2015

Example Usage:

def keys(users)
  HTTP.persistent("https://github.com") do |http|
    users.map { |u| http.get("/#{u}.keys").to_s }
  end
end

Resolves #200

ixti added 2 commits April 2, 2015 03:38
Example Usage:
==============

``` ruby
def keys(users)
  HTTP.persistent("https://github.com") do |http|
    users.map { |u| http.get("/#{u}.keys").to_s }
  end
end
```

Resolves #200
@@ -1,6 +1,6 @@
## master (unreleased)

* _the future is unwritten_
Copy link
Member

Choose a reason for hiding this comment

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

LOL Joe Strummer

Copy link
Member Author

Choose a reason for hiding this comment

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

:D

@tarcieri
Copy link
Member

tarcieri commented Apr 2, 2015

Looks good 👍

ixti added a commit that referenced this pull request Apr 2, 2015
@ixti ixti merged commit c2112cb into master Apr 2, 2015
@ixti ixti deleted the improvement/persistent-with-block branch April 2, 2015 02:21
zanker pushed a commit to zanker/http.rb that referenced this pull request May 8, 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.

Persistent connection API
2 participants